]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/config/mh-cygwin-msvc
ICU-64232.0.1.tar.gz
[apple/icu.git] / icuSources / config / mh-cygwin-msvc
index 4744bb949e3cfba77a15668324ad954cfe181d01..0db6b2654fa9eec1a33cb4e01f2cf94780af4ea0 100644 (file)
@@ -24,6 +24,10 @@ else
 STATICCPPFLAGS = -DU_STATIC_IMPLEMENTATION
 endif
 
+## ICU requires a minimum target of Windows 7, and WINVER is not set to this by default.
+## https://msdn.microsoft.com/en-us/library/aa383745.aspx
+CPPFLAGS += -DWINVER=0x0601 -D_WIN32_WINNT=0x0601
+
 ## Flags for position independent code
 SHAREDLIBCFLAGS = 
 SHAREDLIBCXXFLAGS =