summaryrefslogtreecommitdiff
path: root/regex
diff options
context:
space:
mode:
Diffstat (limited to 'regex')
-rw-r--r--regex/regex_extra.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/regex/regex_extra.h b/regex/regex_extra.h
index 511df57f67..3db9e4ad1a 100644
--- a/regex/regex_extra.h
+++ b/regex/regex_extra.h
@@ -1,3 +1,4 @@
+/* do not frame this - we must be able to include this file multiple times */
#undef regexec
#undef regerror
@@ -8,6 +9,8 @@
#if !(WIN32|WINNT)
+#ifndef PHP_NO_ALIASES
+
#define regexec php_regexec
#define regerror php_regerror
#define regfree php_regfree
@@ -16,3 +19,5 @@
#endif
#endif
+
+#endif