https://lists.gnu.org/r/bug-gnulib/2025-04/msg00045.html
* lib/string.in.h: Wrap _GL_WARN_ON_USE in
HAVE_RAW_DECL_STRERROR_L.
+2025-04-09 Simon Josefsson <simon@josefsson.org>
+
+ string-h: Fix build error on Windows/macOS about strerror_l.
+ https://lists.gnu.org/r/bug-gnulib/2025-04/msg00045.html
+ * lib/string.in.h: Wrap _GL_WARN_ON_USE in
+ HAVE_RAW_DECL_STRERROR_L.
+
2025-04-08 Collin Funk <collin.funk1@gmail.com>
stddef-h: Silence autoconf warnings introduced in previous commit.
# endif
#elif defined GNULIB_POSIXCHECK
# undef strerror_l
-/* Assume strerror_l is always declared. */
+# if HAVE_RAW_DECL_STRERROR_L
_GL_WARN_ON_USE (strerror_l, "strerror_l is unportable - "
"use gnulib module strerror_l for portability");
+# endif
#endif
/* Map any int, typically from errno, into an error message. Multithread-safe,