summaryrefslogtreecommitdiffstats
path: root/gettext-0.19.8.1-cygwin-ftm.patch
blob: 23f88f0b5649cc8b78663262dcdad66356e5f084 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- origsrc/gettext-0.19.8.1/gettext-runtime/intl/libgnuintl.in.h	2016-06-09 17:56:00.000000000 -0500
+++ src/gettext-0.19.8.1/gettext-runtime/intl/libgnuintl.in.h	2016-10-20 11:03:43.187813700 -0500
@@ -435,7 +435,7 @@ extern int vswprintf (wchar_t *, size_t,
 extern char *setlocale (int, const char *);
 #endif
 
-#if @HAVE_NEWLOCALE@
+#if @HAVE_NEWLOCALE@ && __POSIX_VISIBLE >= 200809
 
 #undef newlocale
 #define newlocale libintl_newlocale