fix Unicode build on glibc
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
45e9792446
commit
2f8a46032d
@ -5,6 +5,11 @@
|
|||||||
#ifndef UNICODE_H
|
#ifndef UNICODE_H
|
||||||
#define UNICODE_H 1
|
#define UNICODE_H 1
|
||||||
|
|
||||||
|
#if ENABLE_LOCALE_SUPPORT
|
||||||
|
# include <wchar.h>
|
||||||
|
# include <wctype.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
|
PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
@ -33,8 +38,6 @@ char* FAST_FUNC unicode_conv_to_printable_fixedwidth(uni_stat_t *stats, const ch
|
|||||||
|
|
||||||
# if ENABLE_LOCALE_SUPPORT
|
# if ENABLE_LOCALE_SUPPORT
|
||||||
|
|
||||||
# include <wchar.h>
|
|
||||||
# include <wctype.h>
|
|
||||||
extern uint8_t unicode_status;
|
extern uint8_t unicode_status;
|
||||||
void init_unicode(void) FAST_FUNC;
|
void init_unicode(void) FAST_FUNC;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user