Files
MSYS2-packages/gettext/gettext-0.21.1-cygwin-ftm.patch
Christoph Reiter 458282763b gettext: Update to 0.22
* sync patches from cygwin
* two small msysize patches for the new build-to-host.m4
2023-06-29 22:10:04 +02:00

12 lines
384 B
Diff

--- origsrc/gettext-runtime/intl/libgnuintl.in.h 2022-10-09 14:08:36.000000000 -0600
+++ src/gettext-runtime/intl/libgnuintl.in.h 2022-10-29 12:21:09.667333500 -0600
@@ -562,7 +562,7 @@ extern char *setlocale (int, const char
# endif
# endif
-# if @HAVE_NEWLOCALE@
+# if @HAVE_NEWLOCALE@ && __POSIX_VISIBLE >= 200809
# undef newlocale
# define newlocale libintl_newlocale