1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Windows/Windows.h: Redefine _WIN32_WINNT here. mingw-w64 tends to define it as 0x0502 in its headers.

llvm-svn: 125171
This commit is contained in:
NAKAMURA Takumi 2011-02-09 04:18:30 +00:00
parent 6a5d1afdb4
commit 26a6cce27e

View File

@ -16,6 +16,9 @@
//=== is guaranteed to work on *all* Win32 variants.
//===----------------------------------------------------------------------===//
// mingw-w64 tends to define it as 0x0502 in its headers.
#undef _WIN32_WINNT
// Require at least Windows 2000 API.
#define _WIN32_WINNT 0x0500
#define _WIN32_IE 0x0500 // MinGW at it again.