diff options
Diffstat (limited to 'tests/test-localename.c')
| -rw-r--r-- | tests/test-localename.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-localename.c b/tests/test-localename.c index 03b70527..0bbc2c76 100644 --- a/tests/test-localename.c +++ b/tests/test-localename.c @@ -1,5 +1,5 @@ /* Test of gl_locale_name function and its variants. - Copyright (C) 2007-2024 Free Software Foundation, Inc. + Copyright (C) 2007-2025 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 @@ -26,7 +26,7 @@ #include "macros.h" -#if HAVE_WORKING_NEWLOCALE && HAVE_WORKING_USELOCALE && !HAVE_FAKE_LOCALES +#if HAVE_WORKING_USELOCALE && !HAVE_FAKE_LOCALES # define HAVE_GOOD_USELOCALE 1 #endif @@ -36,7 +36,7 @@ #endif /* Suppress GCC false positive. */ -#if __GNUC__ >= 12 +#if _GL_GNUC_PREREQ (12, 0) # pragma GCC diagnostic ignored "-Wanalyzer-use-of-uninitialized-value" #endif @@ -838,5 +838,5 @@ main () test_locale_name_environ (); test_locale_name_default (); - return 0; + return test_exit_status; } |
