]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix test failures on AIX 7.2.
authorBruno Haible <bruno@clisp.org>
Tue, 9 Apr 2019 19:11:00 +0000 (21:11 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 9 Apr 2019 19:11:00 +0000 (21:11 +0200)
* 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.

gettext-tools/tests/intl-thread-1-prg.c
gettext-tools/tests/intl-thread-2-prg.c
gettext-tools/tests/intl-thread-3-prg.c

index c2e5903d4a4b3c778f0c7408330971aa72edcde8..e10d228890a8599faad84b9b5c582fbe4e54d0ce 100644 (file)
@@ -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 <stdio.h>
 #include <string.h>
 
-#if USE_POSIX_THREADS && HAVE_USELOCALE
+#if USE_POSIX_THREADS && HAVE_WORKING_USELOCALE
 
 #include <pthread.h>
 
index a61e58a3c2a55263f8e5e6d60f2a04118be4dcfc..cf3ef50c20925e021085291f1f99b9b1345d331a 100644 (file)
@@ -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 <stdio.h>
 #include <string.h>
 
-#if USE_POSIX_THREADS && HAVE_USELOCALE
+#if USE_POSIX_THREADS && HAVE_WORKING_USELOCALE
 
 #include <pthread.h>
 
index 9eac2c46f466b50b9433ff9d6f0f5ed8b0ad2a52..0f9b6e76f8402b03a717f614baed5e4c8f47b726 100644 (file)
@@ -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 <stdio.h>
 #include <string.h>
 
-#if USE_POSIX_THREADS && HAVE_USELOCALE
+#if USE_POSIX_THREADS && HAVE_WORKING_USELOCALE
 
 #include <pthread.h>