summaryrefslogtreecommitdiff
path: root/icu/icu4c-wchar_t.patch
blob: bb788dcaf90aea2c1cfdec77c9cb9855fd1482fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- misc/icu/source/config/mh-cygwin-msvc	2012-05-10 11:42:22.886869800 +0100
+++ misc/build/icu/source/config/mh-cygwin-msvc	2012-05-10 11:42:45.110227500 +0100
@@ -43,10 +43,9 @@
 
 # /GF pools strings and places them into read-only memory
 # /EHsc enables exception handling
-# /Zc:wchar_t makes wchar_t a native type. Required for C++ ABI compatibility.
 # -D_CRT_SECURE_NO_DEPRECATE is needed to quiet warnings about using standard C functions.
-CFLAGS+=/GF /nologo
-CXXFLAGS+=/GF /nologo /EHsc /Zc:wchar_t
+CFLAGS+=/GF /nologo /Zc:wchar_t-
+CXXFLAGS+=/GF /nologo /EHsc /Zc:wchar_t-
 CPPFLAGS+=-D_CRT_SECURE_NO_DEPRECATE
 DEFS+=-DWIN32
 DEFS+=-DCYGWINMSVC