]> Savannah Git Hosting - gnulib.git/commitdiff
c-strtod, c-strtof, c-strtold: Fix link error on AIX.
authorBruno Haible <bruno@clisp.org>
Sun, 2 Jun 2024 20:35:23 +0000 (22:35 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 6 Jun 2024 23:20:05 +0000 (01:20 +0200)
* lib/c-strtod.c (newlocale): Undefine before use.

ChangeLog
lib/c-strtod.c

index d630164e42279f6b48eaff48997cca1672170c8f..c379de20a3c9e0fde1fcff613e23632e4223ca4b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-06-02  Bruno Haible  <bruno@clisp.org>
+
+       c-strtod, c-strtof, c-strtold: Fix link error on AIX.
+       * lib/c-strtod.c (newlocale): Undefine before use.
+
 2024-06-02  Bruno Haible  <bruno@clisp.org>
 
        isnanf, isnand, isnanl: Fix link errors on AIX 7.1 with xlc.
index d7e43ac31bec1b4d4647f96c6034b1f289217e2b..b3792de409eaddb848bd5b12fc64b8c5eaad5831 100644 (file)
@@ -41,6 +41,9 @@
 # define STRTOD strtod
 #endif
 
+/* Here we don't need the newlocale override that supports gl_locale_name().  */
+#undef newlocale
+
 #if defined LC_ALL_MASK && (HAVE_GOOD_STRTOD_L || HAVE_WORKING_USELOCALE)
 
 /* Cache for the C locale object.