summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-16 21:15:03 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-16 21:15:03 +0200
commit26e2c1db0df35df1affa558efc12d2bcfd7718e2 (patch)
tree7b1b65e1aafd93ab4c7d0681ff45c28de154b4af /include
parentb8909c52fe850d2731326534822164c2f5258bf5 (diff)
downloadbusybox-w32-26e2c1db0df35df1affa558efc12d2bcfd7718e2.tar.gz
busybox-w32-26e2c1db0df35df1affa558efc12d2bcfd7718e2.tar.bz2
busybox-w32-26e2c1db0df35df1affa558efc12d2bcfd7718e2.zip
stop using LAST_SUPPORTED_WCHAR and CONFIG_LAST_SUPPORTED_WCHAR, it's confusing
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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