summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-07-06 19:49:48 +0000
committerZeev Suraski <zeev@php.net>1999-07-06 19:49:48 +0000
commit5baaa716dc991efcff16f37da9ccf961c0c83f70 (patch)
tree80a0dfbac18d0a37633f2dae7e45e7d635ab3e59 /main
parent8ee9fd57689cd3cd28c57260777403735b12e771 (diff)
downloadphp-git-5baaa716dc991efcff16f37da9ccf961c0c83f70.tar.gz
Support PCRE under Win32
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
};