summaryrefslogtreecommitdiff
path: root/strings/ctype-gb2312.c
diff options
context:
space:
mode:
authorbar@gw.udmsearch.izhnet.ru <>2002-03-19 20:03:10 +0400
committerbar@gw.udmsearch.izhnet.ru <>2002-03-19 20:03:10 +0400
commit1ebab2be72b48346002ad58b8066b7a448b675db (patch)
tree9e73fc04adbb3cc7fd267b5624f7bed06ee2788d /strings/ctype-gb2312.c
parentb226bad64aae0ccaba22f507a7011e7b2fee11c7 (diff)
downloadmariadb-git-1ebab2be72b48346002ad58b8066b7a448b675db.tar.gz
Configure.in/Makefile.in charset related things are now earier to maintain
Fixes in charset related C++ code
Diffstat (limited to 'strings/ctype-gb2312.c')
-rw-r--r--strings/ctype-gb2312.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/strings/ctype-gb2312.c b/strings/ctype-gb2312.c
index 7b9b22f0227..3139bd81d52 100644
--- a/strings/ctype-gb2312.c
+++ b/strings/ctype-gb2312.c
@@ -28,6 +28,8 @@
#include "m_string.h"
#include "m_ctype.h"
+#ifdef HAVE_CHARSET_gb2312
+
uchar NEAR ctype_gb2312[257] =
{
0, /* For standard library */
@@ -178,3 +180,5 @@ int mbcharlen_gb2312(uint c)
{
return (isgb2312head(c)? 2:0);
}
+
+#endif