summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorbar@mysql.com <>2005-02-18 12:58:16 +0400
committerbar@mysql.com <>2005-02-18 12:58:16 +0400
commitc926e43f65f6b1e22a187b5a89354d8108689cdc (patch)
tree33e0ed18a7ccfb0421c19e7fe64ecea96946db2e /strings
parent3c700572b45c578c5e408b991ac0bed8b75a6832 (diff)
downloadmariadb-git-c926e43f65f6b1e22a187b5a89354d8108689cdc.tar.gz
A way not to compile UCA collations
Diffstat (limited to 'strings')
-rw-r--r--strings/ctype-uca.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/strings/ctype-uca.c b/strings/ctype-uca.c
index 452ca263433..7678ee05120 100644
--- a/strings/ctype-uca.c
+++ b/strings/ctype-uca.c
@@ -36,6 +36,7 @@
#include "m_string.h"
#include "m_ctype.h"
+#ifdef HAVE_UCA_COLLATIONS
#define MY_UCA_NPAGES 256
#define MY_UCA_NCHARS 256
@@ -8990,4 +8991,6 @@ CHARSET_INFO my_charset_utf8_persian_uca_ci=
&my_collation_any_uca_handler
};
-#endif
+#endif /* HAVE_CHARSET_utf8 */
+
+#endif /* HAVE_UCA_COLLATIONS */