diff options
author | Bruno Haible <bruno@clisp.org> | 2001-11-29 13:21:40 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-21 23:28:59 +0200 |
commit | 4993ad3ed44a4d2d21e6c7d270f1818f7c4f2d46 (patch) | |
tree | c329a321a47b26e51fd54b1cbef92ddd8c933c29 /intl/localename.c | |
parent | bffcfd4bbda6b52ba9f34ccd9c82b64419644e11 (diff) | |
download | external_gettext-4993ad3ed44a4d2d21e6c7d270f1818f7c4f2d46.zip external_gettext-4993ad3ed44a4d2d21e6c7d270f1818f7c4f2d46.tar.gz external_gettext-4993ad3ed44a4d2d21e6c7d270f1818f7c4f2d46.tar.bz2 |
Merge with glibc: Don't make _nl_locale_name visible in glibc.
Diffstat (limited to 'intl/localename.c')
-rw-r--r-- | intl/localename.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intl/localename.c b/intl/localename.c index 2bca366..a8aad60 100644 --- a/intl/localename.c +++ b/intl/localename.c @@ -372,7 +372,7 @@ _nl_locale_name (category, categoryname) /* Use the POSIX methods of looking to 'LC_ALL', 'LC_xxx', and 'LANG'. On some systems this can be done by the 'setlocale' function itself. */ -# if defined _LIBC || (defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL) +# if defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL retval = setlocale (category, NULL); # else /* Setting of LC_ALL overwrites all other. */ |