summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-07-05 13:56:48 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-07-05 13:56:48 +0000
commit82b0adf80f27f12b5625afda3f1200f802441f44 (patch)
treeadab56692e7ccb623579ba8c6d6685d63f9b3809
parentb44bfd4fbc5bf8a5f1946fcd773d126488dc63fa (diff)
Only define __uwchar_t if wide char support is enabled.
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_locale.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_locale.h b/libc/sysdeps/linux/common/bits/uClibc_locale.h
index a9cd39f2f..9227f5840 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_locale.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_locale.h
@@ -63,7 +63,7 @@
#define __LC_ALL 6
/**********************************************************************/
-#ifdef _LIBC
+#if defined(_LIBC) && defined(__WCHAR_ENABLED)
/* TODO: This really needs to be somewhere else... */
#include <limits.h>