forked from OSchip/llvm-project
Try to reduce the nastiness that creeps in through Windows.h a bit.
llvm-svn: 143816
This commit is contained in:
parent
807cf22b55
commit
6ff181ef3c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue