summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/TLpatches/patch-16-putil
blob: e8f9e1ee34d2b7ae6e650688ff906b698d9df6e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
	tzset and mingw/cygwin.

--- /tmp/putil.cpp	2017-10-31 12:04:49.000000000 -0700
+++ source/common/putil.cpp	2018-01-11 11:10:30.895806863 -0800
@@ -46,8 +46,8 @@
 // First, the platform type. Need this for U_PLATFORM.
 #include "unicode/platform.h"
 
-#if U_PLATFORM == U_PF_MINGW && defined __STRICT_ANSI__
-/* tzset isn't defined in strict ANSI on MinGW. */
+#if (U_PF_CYGWIN <= U_PLATFORM && defined(__STRICT_ANSI__)
+/* tzset isn't defined in strict ANSI on Cygwin and MinGW. */
 #undef __STRICT_ANSI__
 #endif