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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/php_compat.h b/main/php_compat.h
index 90b78c1710..c0726da009 100644
--- a/main/php_compat.h
+++ b/main/php_compat.h
@@ -1,6 +1,12 @@
#ifndef PHP_COMPAT_H
#define PHP_COMPAT_H
+#ifdef PHP_WIN32
+#include "config.w32.h"
+#else
+#include "php_config.h"
+#endif
+
#if defined(HAVE_BUNDLED_PCRE) || !defined(PHP_VERSION)
#define pcre_compile php_pcre_compile
#define pcre_copy_substring php_pcre_copy_substring