From 82b0adf80f27f12b5625afda3f1200f802441f44 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Fri, 5 Jul 2002 13:56:48 +0000 Subject: Only define __uwchar_t if wide char support is enabled. --- libc/sysdeps/linux/common/bits/uClibc_locale.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux') 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 -- cgit v1.2.3