summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php.h b/main/php.h
index ccccc78509..ff9ddc4e04 100644
--- a/main/php.h
+++ b/main/php.h
@@ -163,7 +163,7 @@ extern char *strerror(int);
#include "fopen-wrappers.h"
-#if REGEX == 1 || REGEX == 0
+#if (REGEX == 1 || REGEX == 0) && !defined(NO_REGEX_EXTRA_H)
#include "regex/regex_extra.h"
#endif