From 870a6679ff21e52753e47614b85d300c2f55b211 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Tue, 14 Sep 1999 19:24:37 +0000 Subject: - Updated bundled PCRE library to version 2.08 - Made it possible to specify external location of the PCRE library - Reworked PCRE extension to use updated PCRE library API Hopefully now everything behaves just like Perl.. --- ext/pcre/php_pcre.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'ext/pcre/php_pcre.h') diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h index 9ddd1f1755..4809b32a2c 100644 --- a/ext/pcre/php_pcre.h +++ b/ext/pcre/php_pcre.h @@ -32,9 +32,14 @@ #ifndef _PHP_PCRE_H #define _PHP_PCRE_H -#if HAVE_PCRE +#if HAVE_PCRE || HAVE_BUNDLED_PCRE +#if HAVE_BUNDLED_PCRE #include "pcrelib/pcre.h" +#else +#include "pcre.h" +#endif + #if HAVE_LOCALE_H #include #endif @@ -84,7 +89,7 @@ extern ZEND_API php_pcre_globals pcre_globals; #define pcre_module_ptr NULL -#endif /* HAVE_PCRE */ +#endif /* HAVE_PCRE || HAVE_BUNDLED_PCRE */ #define phpext_pcre_ptr pcre_module_ptr -- cgit v1.2.1