]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/config/mh-mingw64
ICU-62107.0.1.tar.gz
[apple/icu.git] / icuSources / config / mh-mingw64
index a92828efec84dfdf0c44d483aedc9df3488b0f46..6d0c55753298c0463a364eb66e369f87acb63913 100644 (file)
@@ -1,4 +1,6 @@
 ## -*-makefile-*-
+## Copyright (C) 2016 and later: Unicode, Inc. and others.
+## License & terms of use: http://www.unicode.org/copyright.html
 ## Cygwin64/MinGW64 specific setup
 ## Copyright (c) 2012-2014, International Business Machines Corporation and
 ## others. All Rights Reserved.
@@ -26,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 =