diff options
| author | Frank M. Kromann <fmk@php.net> | 2002-12-02 18:19:17 +0000 |
|---|---|---|
| committer | Frank M. Kromann <fmk@php.net> | 2002-12-02 18:19:17 +0000 |
| commit | a7f3ad42a4e73e79426b055d6e8c95288cf761c1 (patch) | |
| tree | b140c9ec5d33ba51dfeca2c9ef0df6691a6213ae /ext/mbstring/mbstring.h | |
| parent | 7fd0c8b59329973b8379933aff66ec18d962d3f8 (diff) | |
| download | php-git-a7f3ad42a4e73e79426b055d6e8c95288cf761c1.tar.gz | |
Fixing build on WIn32
MBREGEX is disabled for now. 5 mbre_* functions are undefined on WIn32
Diffstat (limited to 'ext/mbstring/mbstring.h')
| -rw-r--r-- | ext/mbstring/mbstring.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/mbstring/mbstring.h b/ext/mbstring/mbstring.h index a3263608b8..fdcfc40391 100644 --- a/ext/mbstring/mbstring.h +++ b/ext/mbstring/mbstring.h @@ -49,6 +49,20 @@ #ifdef COMPILE_DL_MBSTRING #undef HAVE_MBSTRING #define HAVE_MBSTRING 1 +#ifdef PHP_WIN32 +# undef HAVE_MBREGEX +# define HAVE_MBREGEX 0 +# undef HAVE_MBSTR_CN +# define HAVE_MBSTR_CN 1 +# undef HAVE_MBSTR_JA +# define HAVE_MBSTR_JA 1 +# undef HAVE_MBSTR_KR +# define HAVE_MBSTR_KR 1 +# undef HAVE_MBSTR_RU +# define HAVE_MBSTR_RU 1 +# undef HAVE_MBSTR_TW +# define HAVE_MBSTR_TW 1 +#endif #endif #ifdef PHP_WIN32 |
