]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/config/mh-mingw
ICU-62107.0.1.tar.gz
[apple/icu.git] / icuSources / config / mh-mingw
index b8d2ee0589dc60bef68689879162dc892ebf7a28..94e6439758ef247085f22c76cbd6d831a10ad0ee 100644 (file)
@@ -28,6 +28,10 @@ else
 STATICCPPFLAGS = -DU_STATIC_IMPLEMENTATION
 endif
 
+## ICU requires a minimum target of Windows 7, and MinGW does not set 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 =