summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/intl/loadmsgcat.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-11-21 03:04:18 +0100
committerBruno Haible <bruno@clisp.org>2011-06-07 23:38:50 +0200
commit5728f8ee0a4e39b9856e845dd8bef07aff972186 (patch)
treef8e8c999297a657fdbaeded93d37762b7c7e4625 /gettext-runtime/intl/loadmsgcat.c
parentfcf60b8042fa8826ccfb183ff3c1643bdb4df316 (diff)
downloadexternal_gettext-5728f8ee0a4e39b9856e845dd8bef07aff972186.zip
external_gettext-5728f8ee0a4e39b9856e845dd8bef07aff972186.tar.gz
external_gettext-5728f8ee0a4e39b9856e845dd8bef07aff972186.tar.bz2
Port to uClibc.
Diffstat (limited to 'gettext-runtime/intl/loadmsgcat.c')
-rw-r--r--gettext-runtime/intl/loadmsgcat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gettext-runtime/intl/loadmsgcat.c b/gettext-runtime/intl/loadmsgcat.c
index 9d49d08..efc008d 100644
--- a/gettext-runtime/intl/loadmsgcat.c
+++ b/gettext-runtime/intl/loadmsgcat.c
@@ -760,7 +760,9 @@ get_sysdep_segment_value (const char *name)
/* Test for a glibc specific printf() format directive flag. */
if (name[0] == 'I' && name[1] == '\0')
{
-#if defined _LIBC || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
+#if defined _LIBC \
+ || ((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)) \
+ && !defined __UCLIBC__)
/* The 'I' flag, in numeric format directives, replaces ASCII digits
with the 'outdigits' defined in the LC_CTYPE locale facet. This is
used for Farsi (Persian), some Indic languages, and maybe Arabic. */