X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gettext-tools%2Ftests%2Fformat-c-5-prg.c;h=f3529ebaf3bfdd53ec4fc9f2700d01cd5fd99718;hb=refs%2Fchanges%2F82%2F71082%2F1;hp=40a30513d148934558d5b84b3082308bf331f280;hpb=90a3363ce7c017439e9953fd5e832fbef8db0dd5;p=platform%2Fupstream%2Fgettext.git diff --git a/gettext-tools/tests/format-c-5-prg.c b/gettext-tools/tests/format-c-5-prg.c index 40a3051..f3529eb 100644 --- a/gettext-tools/tests/format-c-5-prg.c +++ b/gettext-tools/tests/format-c-5-prg.c @@ -1,5 +1,5 @@ /* Test program, used by the format-c-5 test. - Copyright (C) 2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2004, 2006, 2010, 2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,7 +25,7 @@ #include "xsetenv.h" /* For %Id to work, we need the real setlocale(), not the fake one. */ -#if !(__GLIBC__ >= 2) +#if !(__GLIBC__ >= 2 && !defined __UCLIBC__) # include "setlocale.c" #endif @@ -55,7 +55,7 @@ main (int argc, char *argv[]) s = gettext ("father of %d children"); en = "father of %d children"; -#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) +#if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)) && !defined __UCLIBC__ expected_translation = "Vater von %Id Kindern"; expected_result = "Vater von \xdb\xb5 Kindern"; #else