diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-02-09 04:18:30 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-02-09 04:18:30 +0000 |
commit | aeb4c0d8fbe82fbb63a169f85cb2730a93efaece (patch) | |
tree | b0391608059b76b0fab4b08f97120351ca1e3f41 /llvm/lib/Support/Windows | |
parent | 28242e8ff67db4d5f5399edd390eef666d21ed9d (diff) | |
download | bcm5719-llvm-aeb4c0d8fbe82fbb63a169f85cb2730a93efaece.tar.gz bcm5719-llvm-aeb4c0d8fbe82fbb63a169f85cb2730a93efaece.zip |
Windows/Windows.h: Redefine _WIN32_WINNT here. mingw-w64 tends to define it as 0x0502 in its headers.
llvm-svn: 125171
Diffstat (limited to 'llvm/lib/Support/Windows')
-rw-r--r-- | llvm/lib/Support/Windows/Windows.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Support/Windows/Windows.h b/llvm/lib/Support/Windows/Windows.h index dfa4be3a154..4a1553b599d 100644 --- a/llvm/lib/Support/Windows/Windows.h +++ b/llvm/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. |