summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/config.w32.h2
-rw-r--r--main/internal_functions_win32.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/main/config.w32.h b/main/config.w32.h
index d0c2ae7a29..d4aee43480 100644
--- a/main/config.w32.h
+++ b/main/config.w32.h
@@ -174,6 +174,8 @@
#define REGEX 1
#define HSREGEX 1
+#define HAVE_PCRE 1
+
/* Define if you have the gcvt function. */
#define HAVE_GCVT 1
diff --git a/main/internal_functions_win32.c b/main/internal_functions_win32.c
index 9d2e36479f..15aa1b5cdc 100644
--- a/main/internal_functions_win32.c
+++ b/main/internal_functions_win32.c
@@ -57,6 +57,7 @@
#include "ext/standard/php3_standard.h"
#include "ext/COM/php3_COM.h"
#include "ext/standard/reg.h"
+#include "ext/pcre/php_pcre.h"
/* SNMP has to be moved to ext */
/* #include "dl/snmp/php3_snmp.h" */
@@ -81,7 +82,8 @@ zend_module_entry *php3_builtin_modules[] = {
phpext_bcmath_ptr,
phpext_standard_ptr,
COM_module_ptr,
- phpext_regex_ptr
+ phpext_regex_ptr,
+ phpext_pcre_ptr
};