summaryrefslogtreecommitdiff
path: root/main/php_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_compat.h')
-rw-r--r--main/php_compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/php_compat.h b/main/php_compat.h
index 0a3c6ae612..d68d7613ea 100644
--- a/main/php_compat.h
+++ b/main/php_compat.h
@@ -127,4 +127,8 @@
#define XML_NS 1
#endif
+#ifdef PHP_EXPORTS
+#define PCRE_STATIC
+#endif
+
#endif