summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Module.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/Module.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/Module.cpp')
-rw-r--r--lldb/source/Core/Module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp
index 39d7c6241bf..35be2949618 100644
--- a/lldb/source/Core/Module.cpp
+++ b/lldb/source/Core/Module.cpp
@@ -46,7 +46,7 @@
#include "lldb/Utility/StreamString.h"
#include "lldb/Utility/Timer.h"
-#if defined(LLVM_ON_WIN32)
+#if defined(_WIN32)
#include "lldb/Host/windows/PosixApi.h" // for PATH_MAX
#endif
OpenPOWER on IntegriCloud