Try to reduce the nastiness that creeps in through Windows.h a bit.

llvm-svn: 143816
This commit is contained in:
Benjamin Kramer 2011-11-05 17:43:55 +00:00
parent 807cf22b55
commit 6ff181ef3c
1 changed files with 3 additions and 3 deletions

View File

@ -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;