diff options
author | kent@mysql.com <> | 2006-03-23 17:25:49 +0100 |
---|---|---|
committer | kent@mysql.com <> | 2006-03-23 17:25:49 +0100 |
commit | 3c93e6efa5e53df71ad4fb0e1083ca0def251740 (patch) | |
tree | 23d3e2993355a9dba33f59c0673a84396c4efb32 /include/config-win.h | |
parent | 8620ac4d6484446f0670c22a5daf9fd732d7fd30 (diff) | |
download | mariadb-git-3c93e6efa5e53df71ad4fb0e1083ca0def251740.tar.gz |
config-win.h:
If CYBOZU defined, set character sets etc
Diffstat (limited to 'include/config-win.h')
-rw-r--r-- | include/config-win.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/config-win.h b/include/config-win.h index e1972051e67..03f130ad37e 100644 --- a/include/config-win.h +++ b/include/config-win.h @@ -377,8 +377,15 @@ inline double ulonglong2double(ulonglong value) #define shared_memory_buffer_length 16000 #define default_shared_memory_base_name "MYSQL" + +#ifdef CYBOZU +#define MYSQL_DEFAULT_CHARSET_NAME "utf8" +#define MYSQL_DEFAULT_COLLATION_NAME "utf8_general_cs" +#define HAVE_UTF8_GENERAL_CS 1 +#else #define MYSQL_DEFAULT_CHARSET_NAME "latin1" #define MYSQL_DEFAULT_COLLATION_NAME "latin1_swedish_ci" +#enfif #define HAVE_SPATIAL 1 #define HAVE_RTREE_KEYS 1 @@ -386,8 +393,10 @@ inline double ulonglong2double(ulonglong value) /* Define charsets you want */ /* #undef HAVE_CHARSET_armscii8 */ /* #undef HAVE_CHARSET_ascii */ +#ifndef CYBOZU #define HAVE_CHARSET_big5 1 #define HAVE_CHARSET_cp1250 1 +#endif /* #undef HAVE_CHARSET_cp1251 */ /* #undef HAVE_CHARSET_cp1256 */ /* #undef HAVE_CHARSET_cp1257 */ @@ -396,26 +405,32 @@ inline double ulonglong2double(ulonglong value) /* #undef HAVE_CHARSET_cp866 */ #define HAVE_CHARSET_cp932 1 /* #undef HAVE_CHARSET_dec8 */ +#ifndef CYBOZU #define HAVE_CHARSET_euckr 1 #define HAVE_CHARSET_gb2312 1 #define HAVE_CHARSET_gbk 1 +#endif /* #undef HAVE_CHARSET_greek */ /* #undef HAVE_CHARSET_hebrew */ /* #undef HAVE_CHARSET_hp8 */ /* #undef HAVE_CHARSET_keybcs2 */ /* #undef HAVE_CHARSET_koi8r */ /* #undef HAVE_CHARSET_koi8u */ +#ifndef CYBOZU #define HAVE_CHARSET_latin1 1 #define HAVE_CHARSET_latin2 1 +#endif /* #undef HAVE_CHARSET_latin5 */ /* #undef HAVE_CHARSET_latin7 */ /* #undef HAVE_CHARSET_macce */ /* #undef HAVE_CHARSET_macroman */ #define HAVE_CHARSET_sjis 1 /* #undef HAVE_CHARSET_swe7 */ +#ifndef CYBOZU #define HAVE_CHARSET_tis620 1 #define HAVE_CHARSET_ucs2 1 #define HAVE_CHARSET_ujis 1 +#endif #define HAVE_CHARSET_utf8 1 #define HAVE_UCA_COLLATIONS 1 |