diff options
| author | Remi Collet | 2018-09-03 15:38:51 +0200 |
|---|---|---|
| committer | jvoisin | 2018-09-03 13:38:51 +0000 |
| commit | 499a81914597f156fe9a67e47e3baf82a0af4bde (patch) | |
| tree | 23630733f4b892d362217cb5c8840d268d03c7c1 /src/php_snuffleupagus.h | |
| parent | c947eb5378f894b154bdd33588f4bfb470075fe8 (diff) | |
Fix #241 segfault on 32-bit related to bad protype (#242)
This should close #241
Diffstat (limited to 'src/php_snuffleupagus.h')
| -rw-r--r-- | src/php_snuffleupagus.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/php_snuffleupagus.h b/src/php_snuffleupagus.h index bc927a0..0bdf602 100644 --- a/src/php_snuffleupagus.h +++ b/src/php_snuffleupagus.h | |||
| @@ -25,6 +25,11 @@ | |||
| 25 | #include "zend_string.h" | 25 | #include "zend_string.h" |
| 26 | #include "zend_extensions.h" | 26 | #include "zend_extensions.h" |
| 27 | 27 | ||
| 28 | /* Compatibility */ | ||
| 29 | #if PHP_VERSION_ID < 70200 | ||
| 30 | typedef void (*zif_handler)(INTERNAL_FUNCTION_PARAMETERS); | ||
| 31 | #endif | ||
| 32 | |||
| 28 | #include "sp_pcre_compat.h" | 33 | #include "sp_pcre_compat.h" |
| 29 | #include "sp_list.h" | 34 | #include "sp_list.h" |
| 30 | #include "sp_tree.h" | 35 | #include "sp_tree.h" |
