[PATCH] D74599: llvm: Set WINVER to 0x601 (Windows 7) for MinGW
Cristian Adam via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 18 05:00:22 PST 2020
cristian.adam updated this revision to Diff 245130.
cristian.adam added a comment.
Updated revision with a -U9999 diff.
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.245130.patch
Type: text/x-patch
Size: 322 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200218/fb1bf867/attachment.bin>
More information about the llvm-commits
mailing list