mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:32:49 +02:00
2cf562da39
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33713 3c298f89-4303-0410-b956-a3cf2f4a3e73
23 lines
994 B
Diff
23 lines
994 B
Diff
--- a/gettext-runtime/intl/localename.c
|
|
+++ b/gettext-runtime/intl/localename.c
|
|
@@ -2607,7 +2607,7 @@ gl_locale_name_thread_unsafe (int catego
|
|
locale_t thread_locale = uselocale (NULL);
|
|
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
|
|
glibc < 2.12.
|
|
See <http://sourceware.org/bugzilla/show_bug.cgi?id=10968>. */
|
|
--- a/gettext-tools/gnulib-lib/localename.c
|
|
+++ b/gettext-tools/gnulib-lib/localename.c
|
|
@@ -2607,7 +2607,7 @@ gl_locale_name_thread_unsafe (int catego
|
|
locale_t thread_locale = uselocale (NULL);
|
|
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
|
|
glibc < 2.12.
|
|
See <http://sourceware.org/bugzilla/show_bug.cgi?id=10968>. */
|