Hi,
I fixed a compilation problem for ext/mbstring recently.
I think this problem is critical for this module,
it should be applied for php-4.0.6 branch.
>hirokawa Sat May 5 19:44:12 2001 EDT
>
> Modified files:
> /php4/ext/mbstring mbstring.c
> Log:
> fixed a compilation problem without --enable-mbstr-enc-trans.
>
>Index: php4/ext/mbstring/mbstring.c
>diff -u php4/ext/mbstring/mbstring.c:1.7 php4/ext/mbstring/mbstring.c:1.8
>--- php4/ext/mbstring/mbstring.c:1.7 Fri May 4 03:42:54 2001
>+++ php4/ext/mbstring/mbstring.c Sat May 5 19:44:12 2001
>@@ -16,7 +16,7 @@
> +----------------------------------------------------------------------+
> */
>
>-/* $Id: mbstring.c,v 1.7 2001/05/04 10:42:54 hirokawa Exp $ */
>+/* $Id: mbstring.c,v 1.8 2001/05/06 02:44:12 hirokawa Exp $ */
>
> /*
> * PHP4 Multibyte String module "mbstring" (currently only for Japanese)
>@@ -73,6 +73,7 @@
>
> static unsigned char third_and_rest_force_ref[] = { 3, BYREF_NONE,
> BYREF_NONE, BYREF_FORCE_REST };
>
>+#if defined(MBSTR_ENC_TRANS)
> SAPI_POST_HANDLER_FUNC(php_mbstr_post_handler);
>
> static sapi_post_entry mbstr_post_entries[] = {
>@@ -80,6 +81,7 @@
> {
> MULTIPART_CONTENT_TYPE, sizeof(MULTIPART_CONTENT_TYPE)-1,
> sapi_read_standard_form_data, rfc1867_post_handler },
> { NULL, 0, NULL }
> };
>+#endif
>
> function_entry mbstring_functions[] = {
> PHP_FE(mb_internal_encoding, NULL)
>
>
>
--
----------------------------------------------------------
Rui Hirokawa <[EMAIL PROTECTED]>
maintainer of japanese PHP manual <[EMAIL PROTECTED]>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]