summaryrefslogtreecommitdiff
path: root/ext/mbstring
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mbstring')
-rw-r--r--ext/mbstring/mbregex.c1
-rw-r--r--ext/mbstring/mbstring.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/mbstring/mbregex.c b/ext/mbstring/mbregex.c
index 34a0550cb4..f524e662e1 100644
--- a/ext/mbstring/mbregex.c
+++ b/ext/mbstring/mbregex.c
@@ -22,6 +22,7 @@
/* UTF-8 extension added Jan 16 1999 by Yoshida Masato <yoshidam@tau.bekkoame.ne.jp> */
#include "php.h"
+#include "mbstring.h"
#if HAVE_MBREGEX
diff --git a/ext/mbstring/mbstring.h b/ext/mbstring/mbstring.h
index fdcfc40391..20bb6dbe76 100644
--- a/ext/mbstring/mbstring.h
+++ b/ext/mbstring/mbstring.h
@@ -51,7 +51,7 @@
#define HAVE_MBSTRING 1
#ifdef PHP_WIN32
# undef HAVE_MBREGEX
-# define HAVE_MBREGEX 0
+# define HAVE_MBREGEX 1
# undef HAVE_MBSTR_CN
# define HAVE_MBSTR_CN 1
# undef HAVE_MBSTR_JA