summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2002-12-02 19:18:23 +0000
committerFrank M. Kromann <fmk@php.net>2002-12-02 19:18:23 +0000
commitb2a648f5b5970f3c28dbc7637589323d97993a13 (patch)
tree556777d1caf9277763709425888dda726055d9ee /ext
parenta7f3ad42a4e73e79426b055d6e8c95288cf761c1 (diff)
downloadphp-git-b2a648f5b5970f3c28dbc7637589323d97993a13.tar.gz
Fixing the Win32 compilation of mbstring with mbregex enabled.
Diffstat (limited to 'ext')
-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