cvs: php4 /ext/mbstring mbstring.c

From: Date: Sun, 06 May 2001 02:44:12 +0000
Subject: cvs: php4 /ext/mbstring mbstring.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-5550@lists.php.net to get a copy of this message
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)

« previous php.cvs (#5550) next »