diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-05 17:43:55 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-05 17:43:55 +0000 |
commit | 6fdebeef8f6067808ad5adcfbf3cf03e904d3eda (patch) | |
tree | 21b17e66259e55ab50ee7bccc8f4e3bdae5a50fe /lib/Driver/ToolChains.cpp | |
parent | 5183b3d5d5f911f1e9fd8e5d877c7fe039963e31 (diff) |
Try to reduce the nastiness that creeps in through Windows.h a bit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains.cpp')
-rw-r--r-- | lib/Driver/ToolChains.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index c9e86334d5..3a404e5245 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -43,10 +43,10 @@ // Include the necessary headers to interface with the Windows registry and // environment. #ifdef _MSC_VER - #define WIN32_LEAN_AND_MEAN 1 + #define WIN32_LEAN_AND_MEAN + #define NOGDI + #define NOMINMAX #include <Windows.h> - #undef min - #undef max #endif using namespace clang::driver; |