From: Frank M. Kromann Date: Mon, 2 Dec 2002 19:18:23 +0000 (+0000) Subject: Fixing the Win32 compilation of mbstring with mbregex enabled. X-Git-Tag: RELEASE_1_0b3~202 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2a648f5b5970f3c28dbc7637589323d97993a13;p=php Fixing the Win32 compilation of mbstring with mbregex enabled. --- 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 */ #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