Changeset View
Changeset View
Standalone View
Standalone View
b/intl/localename.c
Context not available. | |||||
locale_t thread_locale = uselocale (NULL); | locale_t thread_locale = uselocale (NULL); | ||||
if (thread_locale != LC_GLOBAL_LOCALE) | if (thread_locale != LC_GLOBAL_LOCALE) | ||||
{ | { | ||||
# if __GLIBC__ >= 2 | # if __GLIBC__ >= 2 && !defined(__UCLIBC__) | ||||
/* Work around an incorrect definition of the _NL_LOCALE_NAME macro in | /* Work around an incorrect definition of the _NL_LOCALE_NAME macro in | ||||
glibc < 2.12. | glibc < 2.12. | ||||
See <http://sourceware.org/bugzilla/show_bug.cgi?id=10968>. */ | See <http://sourceware.org/bugzilla/show_bug.cgi?id=10968>. */ | ||||
Context not available. | |||||
However it does not specify the exact format. Neither do SUSV2 and | However it does not specify the exact format. Neither do SUSV2 and | ||||
ISO C 99. So we can use this feature only on selected systems (e.g. | ISO C 99. So we can use this feature only on selected systems (e.g. | ||||
those using GNU C Library). */ | those using GNU C Library). */ | ||||
#if defined _LIBC || (defined __GLIBC__ && __GLIBC__ >= 2) | #if defined _LIBC || (defined __GLIBC__ && __GLIBC__ >= 2 && (!defined __UCLIBC__ || defined __UCLIBC_HAS_LOCALE__)) | ||||
# define HAVE_LOCALE_NULL | # define HAVE_LOCALE_NULL | ||||
#endif | #endif | ||||
Context not available. |