aboutsummaryrefslogtreecommitdiffstats
path: root/intl/localename.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-05-07 19:49:12 +0000
committerWerner Koch <[email protected]>2007-05-07 19:49:12 +0000
commitd5052fd22864ebb879e3b417ecfefd88e6c1800a (patch)
tree82f547df2e3ac98021fd713f470cc00610482c8e /intl/localename.c
parentUpdated to automake 1.10. (diff)
downloadgnupg-d5052fd22864ebb879e3b417ecfefd88e6c1800a.tar.gz
gnupg-d5052fd22864ebb879e3b417ecfefd88e6c1800a.zip
Upgraded gettext.
Fixed accidental dependency on libgcrypt 1.3.0.
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. */