aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/unicode.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/unicode.h b/include/unicode.h
index 747026abe..eaf67c833 100644
--- a/include/unicode.h
+++ b/include/unicode.h
@@ -30,22 +30,21 @@ enum {
30#else 30#else
31 31
32# if CONFIG_LAST_SUPPORTED_WCHAR < 126 || CONFIG_LAST_SUPPORTED_WCHAR >= 0x30000 32# if CONFIG_LAST_SUPPORTED_WCHAR < 126 || CONFIG_LAST_SUPPORTED_WCHAR >= 0x30000
33# define LAST_SUPPORTED_WCHAR 0x2ffff 33# undef CONFIG_LAST_SUPPORTED_WCHAR
34# else 34# define CONFIG_LAST_SUPPORTED_WCHAR 0x2ffff
35# define LAST_SUPPORTED_WCHAR CONFIG_LAST_SUPPORTED_WCHAR
36# endif 35# endif
37 36
38# if LAST_SUPPORTED_WCHAR < 0x300 37# if CONFIG_LAST_SUPPORTED_WCHAR < 0x300
39# undef ENABLE_UNICODE_COMBINING_WCHARS 38# undef ENABLE_UNICODE_COMBINING_WCHARS
40# define ENABLE_UNICODE_COMBINING_WCHARS 0 39# define ENABLE_UNICODE_COMBINING_WCHARS 0
41# endif 40# endif
42 41
43# if LAST_SUPPORTED_WCHAR < 0x1100 42# if CONFIG_LAST_SUPPORTED_WCHAR < 0x1100
44# undef ENABLE_UNICODE_WIDE_WCHARS 43# undef ENABLE_UNICODE_WIDE_WCHARS
45# define ENABLE_UNICODE_WIDE_WCHARS 0 44# define ENABLE_UNICODE_WIDE_WCHARS 0
46# endif 45# endif
47 46
48# if LAST_SUPPORTED_WCHAR < 0x590 47# if CONFIG_LAST_SUPPORTED_WCHAR < 0x590
49# undef ENABLE_UNICODE_BIDI_SUPPORT 48# undef ENABLE_UNICODE_BIDI_SUPPORT
50# define ENABLE_UNICODE_BIDI_SUPPORT 0 49# define ENABLE_UNICODE_BIDI_SUPPORT 0
51# endif 50# endif