diff options
-rw-r--r-- | lib/Support/Windows/Windows.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Support/Windows/Windows.h b/lib/Support/Windows/Windows.h index dfa4be3a15..4a1553b599 100644 --- a/lib/Support/Windows/Windows.h +++ b/lib/Support/Windows/Windows.h @@ -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. |