From: Bruno Haible Date: Tue, 9 Apr 2019 19:11:00 +0000 (+0200) Subject: Fix test failures on AIX 7.2. X-Git-Tag: v0.20~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf3a7355cb6fad693849705a5e9dbe4efc2c24d4;p=thirdparty%2Fgettext.git Fix test failures on AIX 7.2. * gettext-tools/tests/intl-thread-1-prg.c: Test HAVE_WORKING_USELOCALE instead of HAVE_USELOCALE. * gettext-tools/tests/intl-thread-2-prg.c: Likewise. * gettext-tools/tests/intl-thread-3-prg.c: Likewise. --- diff --git a/gettext-tools/tests/intl-thread-1-prg.c b/gettext-tools/tests/intl-thread-1-prg.c index c2e5903d4..e10d22889 100644 --- a/gettext-tools/tests/intl-thread-1-prg.c +++ b/gettext-tools/tests/intl-thread-1-prg.c @@ -1,5 +1,5 @@ /* Test program, used by the intl-thread-1 test. - Copyright (C) 2005-2007, 2009-2010, 2013, 2018 Free Software Foundation, Inc. + Copyright (C) 2005-2007, 2009-2010, 2013, 2018-2019 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 #include -#if USE_POSIX_THREADS && HAVE_USELOCALE +#if USE_POSIX_THREADS && HAVE_WORKING_USELOCALE #include diff --git a/gettext-tools/tests/intl-thread-2-prg.c b/gettext-tools/tests/intl-thread-2-prg.c index a61e58a3c..cf3ef50c2 100644 --- a/gettext-tools/tests/intl-thread-2-prg.c +++ b/gettext-tools/tests/intl-thread-2-prg.c @@ -1,5 +1,5 @@ /* Test program, used by the intl-thread-2 test. - Copyright (C) 2005-2007, 2009-2010, 2013, 2018 Free Software Foundation, Inc. + Copyright (C) 2005-2007, 2009-2010, 2013, 2018-2019 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 #include -#if USE_POSIX_THREADS && HAVE_USELOCALE +#if USE_POSIX_THREADS && HAVE_WORKING_USELOCALE #include diff --git a/gettext-tools/tests/intl-thread-3-prg.c b/gettext-tools/tests/intl-thread-3-prg.c index 9eac2c46f..0f9b6e76f 100644 --- a/gettext-tools/tests/intl-thread-3-prg.c +++ b/gettext-tools/tests/intl-thread-3-prg.c @@ -1,5 +1,5 @@ /* Test program, used by the intl-thread-3 test. - Copyright (C) 2005-2007, 2009-2010, 2013, 2018 Free Software Foundation, Inc. + Copyright (C) 2005-2007, 2009-2010, 2013, 2018-2019 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 #include -#if USE_POSIX_THREADS && HAVE_USELOCALE +#if USE_POSIX_THREADS && HAVE_WORKING_USELOCALE #include