summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2005-02-18 12:58:16 +0400
committerunknown <bar@mysql.com>2005-02-18 12:58:16 +0400
commit29fb8728e45d22241a6d225d787cd5b19e2053cb (patch)
tree33e0ed18a7ccfb0421c19e7fe64ecea96946db2e /strings
parent2b69b4ae4f0b29a0eceb72a404b7f52a67748875 (diff)
downloadmariadb-git-29fb8728e45d22241a6d225d787cd5b19e2053cb.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 */