diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-22 10:29:18 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-22 10:29:18 +0100 |
commit | e7e2056d1a993a01c9d57fb2261066855d282d8f (patch) | |
tree | f94116fdb65c1ef4c719f567bca0799aaf594988 /ext/pcre/php_pcre.h | |
parent | 5456a6ea92243d6028ea2012407dbef557113215 (diff) | |
download | php-git-e7e2056d1a993a01c9d57fb2261066855d282d8f.tar.gz |
Remove HAVE_PCRE/HAVE_BUNDLED_PCRE checks
PCRE is always available.
Diffstat (limited to 'ext/pcre/php_pcre.h')
-rw-r--r-- | ext/pcre/php_pcre.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h index eca3ca5fdf..ba38a26a08 100644 --- a/ext/pcre/php_pcre.h +++ b/ext/pcre/php_pcre.h @@ -19,8 +19,6 @@ #ifndef PHP_PCRE_H #define PHP_PCRE_H -#if HAVE_PCRE || HAVE_BUNDLED_PCRE - #if HAVE_BUNDLED_PCRE #include "pcre2lib/pcre2.h" #else @@ -83,12 +81,6 @@ ZEND_END_MODULE_GLOBALS(pcre) PHPAPI ZEND_EXTERN_MODULE_GLOBALS(pcre) #define PCRE_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(pcre, v) -#else - -#define pcre_module_ptr NULL - -#endif /* HAVE_PCRE || HAVE_BUNDLED_PCRE */ - #define phpext_pcre_ptr pcre_module_ptr #endif /* PHP_PCRE_H */ |