aboutsummaryrefslogtreecommitdiffstats
path: root/intl/localename.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/localename.c')
-rw-r--r--intl/localename.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/intl/localename.c b/intl/localename.c
index 1b8b99a1a..e1b4615a0 100644
--- a/intl/localename.c
+++ b/intl/localename.c
@@ -973,12 +973,12 @@ _nl_locale_name_canonicalize (char *name)
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.
those using GNU C Library). */
-#if defined _LIBC || (defined __GNU_LIBRARY__ && __GNU_LIBRARY__ >= 2)
+#if defined _LIBC || (defined __GLIBC__ && __GLIBC__ >= 2)
# define HAVE_LOCALE_NULL
#endif
/* Determine the current locale's name, and canonicalize it into XPG syntax
- language[_territory[.codeset]][@modifier]
+ language[_territory][.codeset][@modifier]
The codeset part in the result is not reliable; the locale_charset()
should be used for codeset information instead.
The result must not be freed; it is statically allocated. */