summaryrefslogtreecommitdiff
path: root/ext/mbstring/mbstring.c
diff options
context:
space:
mode:
authorRui Hirokawa <hirokawa@php.net>2001-05-06 02:44:12 +0000
committerRui Hirokawa <hirokawa@php.net>2001-05-06 02:44:12 +0000
commitb0d91b12f8833631eba0be010a940a10fd9e4981 (patch)
treeeb1583f5553eb8ef2d1f7f1790b90c345f0f85f4 /ext/mbstring/mbstring.c
parent4f059abacf12e0b5212c611b299f7a625d90ccbf (diff)
downloadphp-git-b0d91b12f8833631eba0be010a940a10fd9e4981.tar.gz
fixed a compilation problem without --enable-mbstr-enc-trans.
Diffstat (limited to 'ext/mbstring/mbstring.c')
-rw-r--r--ext/mbstring/mbstring.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c
index e6df77f736..0487ccd7a8 100644
--- a/ext/mbstring/mbstring.c
+++ b/ext/mbstring/mbstring.c
@@ -73,6 +73,7 @@ static int php_mbstr_default_identify_list_size = sizeof(php_mbstr_default_ident
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 @@ static sapi_post_entry mbstr_post_entries[] = {
{ 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)