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:
Sven van Haastregt 2019-08-14 10:30:18 +00:00
parent a8eef4e5f5
commit 15e26d1fe9
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ using namespace clang::driver::tools;
using namespace clang; using namespace clang;
using namespace llvm::opt; using namespace llvm::opt;
#if _WIN32 || _WIN64 #if defined(_WIN32) || defined(_WIN64)
#define NULL_FILE "nul" #define NULL_FILE "nul"
#else #else
#define NULL_FILE "/dev/null" #define NULL_FILE "/dev/null"