Require Windows API of version 6.1 (Windows 7).
authorPawel Bylica <chfast@gmail.com>
Thu, 15 Oct 2015 14:50:31 +0000 (14:50 +0000)
committerPawel Bylica <chfast@gmail.com>
Thu, 15 Oct 2015 14:50:31 +0000 (14:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250413 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Windows/WindowsSupport.h

index 5bb0b8d2d7887f2781d10916ef2b206f4ecd25f6..f12d2e4301463388b02a3b6514aeaf54fc1401ad 100644 (file)
@@ -26,9 +26,9 @@
 #undef _WIN32_WINNT
 #undef _WIN32_IE
 
 #undef _WIN32_WINNT
 #undef _WIN32_IE
 
-// Require at least Windows XP(5.1) API.
-#define _WIN32_WINNT 0x0501
-#define _WIN32_IE    0x0600 // MinGW at it again.
+// Require at least Windows 7 API.
+#define _WIN32_WINNT 0x0601
+#define _WIN32_IE    0x0800 // MinGW at it again. FIXME: verify if still needed.
 #define WIN32_LEAN_AND_MEAN
 
 #include "llvm/ADT/SmallVector.h"
 #define WIN32_LEAN_AND_MEAN
 
 #include "llvm/ADT/SmallVector.h"