]> 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 22:43:36 +0000 (00:43 +0200)
* lib/c-strtod.c (newlocale): Undefine before use.

ChangeLog
lib/c-strtod.c

index 91304c521159c2a193e32b899a69320489a93de7..e6a8837480aa238809514cbb14abe2977dd25f2f 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>
 
        totalorder*: Avoid compilation error by IBM XL C compiler.
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.