diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-11-17 09:18:11 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-11-17 09:18:11 -0800 |
commit | 4fb9241e4edbe238de8ba251f4448e31e8b1baf4 (patch) | |
tree | 23197e86bf3f7c1b5c325d7f0c784a6e3bc242a4 /locale/langinfo.h | |
parent | 2866eeb1b70c989591293d37ae292e71def16775 (diff) | |
download | glibc-4fb9241e4edbe238de8ba251f4448e31e8b1baf4.zip glibc-4fb9241e4edbe238de8ba251f4448e31e8b1baf4.tar.gz glibc-4fb9241e4edbe238de8ba251f4448e31e8b1baf4.tar.bz2 |
Fix _NC_LOCALE_NAME definition.
Diffstat (limited to 'locale/langinfo.h')
-rw-r--r-- | locale/langinfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/locale/langinfo.h b/locale/langinfo.h index c940c74..0a53365 100644 --- a/locale/langinfo.h +++ b/locale/langinfo.h @@ -568,7 +568,8 @@ enum /* This macro produces an item you can pass to `nl_langinfo' or `nl_langinfo_l' to get the name of the locale in use for CATEGORY. */ -#define _NL_LOCALE_NAME(category) _NL_ITEM ((category), -1) +#define _NL_LOCALE_NAME(category) _NL_ITEM ((category), \ + _NL_ITEM_INDEX (-1)) #ifdef __USE_GNU # define NL_LOCALE_NAME(category) _NL_LOCALE_NAME (category) #endif |