fmk             Mon Dec  2 14:18:23 2002 EDT

  Modified files:              
    /php4/ext/mbstring  mbregex.c mbstring.h 
  Log:
  Fixing the Win32 compilation of mbstring with mbregex enabled.
  
  
Index: php4/ext/mbstring/mbregex.c
diff -u php4/ext/mbstring/mbregex.c:1.16 php4/ext/mbstring/mbregex.c:1.17
--- php4/ext/mbstring/mbregex.c:1.16    Tue Nov 12 12:41:26 2002
+++ php4/ext/mbstring/mbregex.c Mon Dec  2 14:18:23 2002
@@ -22,6 +22,7 @@
 /* UTF-8 extension added Jan 16 1999 by Yoshida Masato  <[EMAIL PROTECTED]> 
*/
 
 #include "php.h"
+#include "mbstring.h"
 
 #if HAVE_MBREGEX
 
Index: php4/ext/mbstring/mbstring.h
diff -u php4/ext/mbstring/mbstring.h:1.46 php4/ext/mbstring/mbstring.h:1.47
--- php4/ext/mbstring/mbstring.h:1.46   Mon Dec  2 13:19:17 2002
+++ php4/ext/mbstring/mbstring.h        Mon Dec  2 14:18:23 2002
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: mbstring.h,v 1.46 2002/12/02 18:19:17 fmk Exp $ */
+/* $Id: mbstring.h,v 1.47 2002/12/02 19:18:23 fmk Exp $ */
 
 /*
  * PHP4 Multibyte String module "mbstring" (currently only for Japanese)
@@ -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



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to