Fix _WIN32 / _WIN64 Wundef warnings
For these macros it is the definedness that matters rather than the value. Make new uses of these macros consistent with existing uses. llvm-svn: 368822
This commit is contained in:
parent
a8eef4e5f5
commit
15e26d1fe9
|
@ -23,7 +23,7 @@ using namespace clang::driver::tools;
|
|||
using namespace clang;
|
||||
using namespace llvm::opt;
|
||||
|
||||
#if _WIN32 || _WIN64
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
#define NULL_FILE "nul"
|
||||
#else
|
||||
#define NULL_FILE "/dev/null"
|
||||
|
|
Loading…
Reference in New Issue