summaryrefslogtreecommitdiff
path: root/main/php_regex.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-10-26 18:15:56 +0000
committerSascha Schumann <sas@php.net>2000-10-26 18:15:56 +0000
commit00d1d1a347fa9be838f9092417694f3c08ec8ddf (patch)
tree2ed5e2b69bb4144d6600a4d58d64ccd2a7736ef2 /main/php_regex.h
parent39387c77819242c829f38a82f5a49afc3f1021f4 (diff)
downloadphp-git-00d1d1a347fa9be838f9092417694f3c08ec8ddf.tar.gz
Protect us from Apache 2.0's pcre-posix stuff
Diffstat (limited to 'main/php_regex.h')
-rw-r--r--main/php_regex.h3
1 files changed, 3 insertions, 0 deletions
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