diff options
Diffstat (limited to 'include/locale.h')
-rw-r--r-- | include/locale.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/locale.h b/include/locale.h index 02d33a0d4..ba04e8902 100644 --- a/include/locale.h +++ b/include/locale.h @@ -132,7 +132,7 @@ extern struct lconv *localeconv (void) __THROW; __END_NAMESPACE_STD -#if defined(__USE_GNU) && defined(__UCLIBC_HAS_XLOCALE__) +#if defined(__USE_GNU) /* The concept of one static locale per category is not very well thought out. Many applications will need to process its data using information from several different locales. Another application is @@ -144,8 +144,10 @@ __END_NAMESPACE_STD Attention: all these functions are *not* standardized in any form. This is a proof-of-concept implementation. */ +#if defined(__UCLIBC_HAS_XLOCALE__) /* Get locale datatype definition. */ # include <xlocale.h> +#endif typedef __locale_t locale_t; |