[PATCH] D74599: llvm: Set WINVER to 0x601 (Windows 7) for MinGW
Cristian Adam via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 14 05:46:36 PST 2020
cristian.adam updated this revision to Diff 244634.
cristian.adam added a comment.
Updated from Windows Vista (0x600) to Windows 7 (0x601)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74599/new/
https://reviews.llvm.org/D74599
Files:
llvm/cmake/config-ix.cmake
Index: llvm/cmake/config-ix.cmake
===================================================================
--- llvm/cmake/config-ix.cmake
+++ llvm/cmake/config-ix.cmake
@@ -663,3 +663,8 @@
else()
set (LLVM_HAVE_OPT_VIEWER_MODULES 0)
endif()
+
+# Windows 7 or later
+if (MINGW)
+ add_definitions(-DWINVER=0x601)
+endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74599.244634.patch
Type: text/x-patch
Size: 321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200214/c86f0da8/attachment.bin>
More information about the llvm-commits
mailing list