summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/unicode.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/unicode.h b/include/unicode.h
index deb4022c3..4e2927297 100644
--- a/include/unicode.h
+++ b/include/unicode.h
@@ -5,7 +5,7 @@
5#ifndef UNICODE_H 5#ifndef UNICODE_H
6#define UNICODE_H 1 6#define UNICODE_H 1
7 7
8#if ENABLE_LOCALE_SUPPORT 8#if ENABLE_UNICODE_USING_LOCALE
9# include <wchar.h> 9# include <wchar.h>
10# include <wctype.h> 10# include <wctype.h>
11#endif 11#endif
@@ -21,7 +21,7 @@ enum {
21#define unicode_bidi_isrtl(wc) 0 21#define unicode_bidi_isrtl(wc) 0
22#define unicode_bidi_is_neutral_wchar(wc) (wc <= 126 && !isalpha(wc)) 22#define unicode_bidi_is_neutral_wchar(wc) (wc <= 126 && !isalpha(wc))
23 23
24#if !ENABLE_FEATURE_ASSUME_UNICODE 24#if !ENABLE_UNICODE_SUPPORT
25 25
26# define unicode_strlen(string) strlen(string) 26# define unicode_strlen(string) strlen(string)
27# define unicode_status UNICODE_OFF 27# define unicode_status UNICODE_OFF
@@ -50,7 +50,7 @@ char* FAST_FUNC unicode_conv_to_printable(uni_stat_t *stats, const char *src);
50char* FAST_FUNC unicode_conv_to_printable_maxwidth(uni_stat_t *stats, const char *src, unsigned maxwidth); 50char* FAST_FUNC unicode_conv_to_printable_maxwidth(uni_stat_t *stats, const char *src, unsigned maxwidth);
51char* FAST_FUNC unicode_conv_to_printable_fixedwidth(uni_stat_t *stats, const char *src, unsigned width); 51char* FAST_FUNC unicode_conv_to_printable_fixedwidth(uni_stat_t *stats, const char *src, unsigned width);
52 52
53# if ENABLE_LOCALE_SUPPORT 53# if ENABLE_UNICODE_USING_LOCALE
54 54
55extern uint8_t unicode_status; 55extern uint8_t unicode_status;
56void init_unicode(void) FAST_FUNC; 56void init_unicode(void) FAST_FUNC;
@@ -102,9 +102,9 @@ int unicode_bidi_is_neutral_wchar(wint_t wc) FAST_FUNC;
102# endif 102# endif
103 103
104 104
105# endif /* !LOCALE_SUPPORT */ 105# endif /* !UNICODE_USING_LOCALE */
106 106
107#endif /* FEATURE_ASSUME_UNICODE */ 107#endif /* UNICODE_SUPPORT */
108 108
109POP_SAVED_FUNCTION_VISIBILITY 109POP_SAVED_FUNCTION_VISIBILITY
110 110