From 2a0c568ddc7b6b142dc049d8cc9cf32eb38e2321 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 4 Mar 2011 18:28:26 +0100 Subject: fix locale build make xlocale.h a dummy, locale_t is needed without it and uClibc_locale.h is already included by locale.h Signed-off-by: Peter S. Mazinger --- include/locale.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/locale.h') diff --git a/include/locale.h b/include/locale.h index fa8d9e2d8..d04c42ff6 100644 --- a/include/locale.h +++ b/include/locale.h @@ -145,13 +145,13 @@ __END_NAMESPACE_STD Attention: all these functions are *not* standardized in any form. This is a proof-of-concept implementation. */ -#if 0 +#ifdef __UCLIBC_HAS_XLOCALE__ /* Get locale datatype definition. */ # include -#else +#endif + /* POSIX 2008 makes locale_t official. */ typedef __locale_t locale_t; -#endif /* Return a reference to a data structure representing a set of locale datasets. Unlike for the CATEGORY parameter for `setlocale' the -- cgit v1.2.3