← Commit list

2f8a46032

Denys Vlasenko
Denys Vlasenko
2010-02-19
FAILED Duration: 38s

Subject

fix Unicode build on glibc

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

include/unicode.h+5 -2
@@ -5,6 +5,11 @@
#ifndef UNICODE_H
#define UNICODE_H 1
+#if ENABLE_LOCALE_SUPPORT
+# include <wchar.h>
+# include <wctype.h>
+#endif
+
PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
enum {
@@ -33,8 +38,6 @@ char* FAST_FUNC unicode_conv_to_printable_fixedwidth(uni_stat_t *stats, const ch
# if ENABLE_LOCALE_SUPPORT
-# include <wchar.h>
-# include <wctype.h>
extern uint8_t unicode_status;
void init_unicode(void) FAST_FUNC;