From: Sascha Schumann Date: Thu, 26 Oct 2000 18:15:56 +0000 (+0000) Subject: Protect us from Apache 2.0's pcre-posix stuff X-Git-Tag: php-4.0.4RC3~521 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00d1d1a347fa9be838f9092417694f3c08ec8ddf;p=php Protect us from Apache 2.0's pcre-posix stuff --- diff --git a/ext/ereg/php_regex.h b/ext/ereg/php_regex.h index c418c1f576..c1d1e0c232 100644 --- a/ext/ereg/php_regex.h +++ b/ext/ereg/php_regex.h @@ -17,6 +17,9 @@ #include "regex/regex_extra.h" #undef PHP_NO_ALIASES +#undef _PCREPOSIX_H +#define _PCREPOSIX_H 1 + #ifndef _REGEX_H #define _REGEX_H 1 /* this should stop Apache from loading the system version of regex.h */ #endif diff --git a/main/php_regex.h b/main/php_regex.h index c418c1f576..c1d1e0c232 100644 --- a/main/php_regex.h +++ b/main/php_regex.h @@ -17,6 +17,9 @@ #include "regex/regex_extra.h" #undef PHP_NO_ALIASES +#undef _PCREPOSIX_H +#define _PCREPOSIX_H 1 + #ifndef _REGEX_H #define _REGEX_H 1 /* this should stop Apache from loading the system version of regex.h */ #endif