diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2002-07-05 13:56:48 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2002-07-05 13:56:48 +0000 |
commit | 82b0adf80f27f12b5625afda3f1200f802441f44 (patch) | |
tree | adab56692e7ccb623579ba8c6d6685d63f9b3809 | |
parent | b44bfd4fbc5bf8a5f1946fcd773d126488dc63fa (diff) |
Only define __uwchar_t if wide char support is enabled.
-rw-r--r-- | libc/sysdeps/linux/common/bits/uClibc_locale.h | 2 |
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> |