summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorunknown <bar@bar.intranet.mysql.r18.ru>2004-03-24 16:18:56 +0400
committerunknown <bar@bar.intranet.mysql.r18.ru>2004-03-24 16:18:56 +0400
commit8b4720e7c1c745f5028459af5baf4d0b9bde4243 (patch)
treee5742512a523843acfdbca773d7ef9eb4b3a83f0 /strings
parent665a255dee8b3e0d8a452abb5cc38d0db253ae0f (diff)
downloadmariadb-git-8b4720e7c1c745f5028459af5baf4d0b9bde4243.tar.gz
ctype-uca.c:
Conditional compilation strings/ctype-uca.c: Conditional compilation
Diffstat (limited to 'strings')
-rw-r--r--strings/ctype-uca.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/strings/ctype-uca.c b/strings/ctype-uca.c
index 5f63ddbc452..ac805bf0a5a 100644
--- a/strings/ctype-uca.c
+++ b/strings/ctype-uca.c
@@ -36,10 +36,13 @@
#include "m_ctype.h"
+#ifdef HAVE_CHARSET_ucs2
+
#define MY_UCA_NPAGES 256
#define MY_UCA_NCHARS 256
#define MY_UCA_CMASK 255
#define MY_UCA_PSHIFT 8
+
uint16 page000data[]= { /* 0000 (4 weights per char) */
0x0000,0x0000,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,
@@ -7035,3 +7038,5 @@ MY_COLLATION_HANDLER my_collation_ucs2_uca_handler =
my_instr_mb,
my_hash_sort_uca
};
+
+#endif