summaryrefslogtreecommitdiff
path: root/main/php_regex.h
diff options
context:
space:
mode:
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