diff options
Diffstat (limited to 'src/php_snuffleupagus.h')
| -rw-r--r-- | src/php_snuffleupagus.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/php_snuffleupagus.h b/src/php_snuffleupagus.h index 95f271d..52bcc93 100644 --- a/src/php_snuffleupagus.h +++ b/src/php_snuffleupagus.h | |||
| @@ -24,6 +24,7 @@ | |||
| 24 | #include "zend_string.h" | 24 | #include "zend_string.h" |
| 25 | #include "zend_extensions.h" | 25 | #include "zend_extensions.h" |
| 26 | 26 | ||
| 27 | #include "sp_pcre_compat.h" | ||
| 27 | #include "sp_list.h" | 28 | #include "sp_list.h" |
| 28 | #include "sp_tree.h" | 29 | #include "sp_tree.h" |
| 29 | #include "sp_var_parser.h" | 30 | #include "sp_var_parser.h" |
| @@ -71,18 +72,6 @@ ZEND_END_MODULE_GLOBALS(snuffleupagus) | |||
| 71 | ZEND_TSRMLS_CACHE_EXTERN() | 72 | ZEND_TSRMLS_CACHE_EXTERN() |
| 72 | #endif | 73 | #endif |
| 73 | 74 | ||
| 74 | #if HAVE_BUNDLED_PCRE | ||
| 75 | #include "ext/pcre/pcrelib/pcre.h" | ||
| 76 | #undef pcre_exec | ||
| 77 | #undef pcre_compile | ||
| 78 | #define sp_pcre_exec pcre_exec | ||
| 79 | #define sp_pcre_compile pcre_compile | ||
| 80 | #else | ||
| 81 | #include "pcre.h" | ||
| 82 | #define sp_pcre_exec pcre_exec | ||
| 83 | #define sp_pcre_compile pcre_compile | ||
| 84 | #endif | ||
| 85 | |||
| 86 | PHP_FUNCTION(check_disabled_function); | 75 | PHP_FUNCTION(check_disabled_function); |
| 87 | PHP_FUNCTION(eval_blacklist_callback); | 76 | PHP_FUNCTION(eval_blacklist_callback); |
| 88 | 77 | ||
