diff options
author | Nico Weber <nicolasweber@gmx.de> | 2018-04-10 13:33:45 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2018-04-10 13:33:45 +0000 |
commit | b1cb0b7957ecb048955bda8f088e34c477938f7f (patch) | |
tree | eba7b6da7d34aef46f801eccba177a69bdbc0e38 /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | fb647300058cbc67b5ca8ad32aef7ff2db33cf3b (diff) | |
download | bcm5719-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/Plugins/ScriptInterpreter/Python')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h b/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h index ee13b7a5cd1..81bcb8aa73b 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h @@ -18,7 +18,7 @@ // Python is disabled in this build #else #include "llvm/Support/Compiler.h" -#if defined(LLVM_ON_WIN32) +#if defined(_WIN32) // If anyone #includes Host/PosixApi.h later, it will try to typedef pid_t. We // need to ensure this doesn't happen. At the same time, Python.h will also try // to redefine a bunch of stuff that PosixApi.h defines. So define it all now |