summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ModuleList.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2018-04-10 13:33:45 +0000
committerNico Weber <nicolasweber@gmx.de>2018-04-10 13:33:45 +0000
commitb1cb0b7957ecb048955bda8f088e34c477938f7f (patch)
treeeba7b6da7d34aef46f801eccba177a69bdbc0e38 /lldb/source/Core/ModuleList.cpp
parentfb647300058cbc67b5ca8ad32aef7ff2db33cf3b (diff)
downloadbcm5719-llvm-b1cb0b7957ecb048955bda8f088e34c477938f7f.tar.gz
bcm5719-llvm-b1cb0b7957ecb048955bda8f088e34c477938f7f.zip
s/LLVM_ON_WIN32/_WIN32/, lldb
LLVM_ON_WIN32 is set exactly with MSVC and MinGW (but not Cygwin) in HandleLLVMOptions.cmake, which is where _WIN32 defined too. Just use the default macro instead of a reinvented one. See thread "Replacing LLVM_ON_WIN32 with just _WIN32" on llvm-dev and cfe-dev. No intended behavior change. llvm-svn: 329697
Diffstat (limited to 'lldb/source/Core/ModuleList.cpp')
-rw-r--r--lldb/source/Core/ModuleList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ModuleList.cpp b/lldb/source/Core/ModuleList.cpp
index 4c99bbcbda7..6d7f450e984 100644
--- a/lldb/source/Core/ModuleList.cpp
+++ b/lldb/source/Core/ModuleList.cpp
@@ -26,7 +26,7 @@
#include "lldb/Utility/UUID.h" // for UUID, operator!=, operator==
#include "lldb/lldb-defines.h" // for LLDB_INVALID_INDEX32
-#if defined(LLVM_ON_WIN32)
+#if defined(_WIN32)
#include "lldb/Host/windows/PosixApi.h" // for PATH_MAX
#endif
OpenPOWER on IntegriCloud