diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-13 10:37:33 -0800 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-13 13:41:11 -0800 |
| commit | 4e26cf2cfb2b140a33ec236153cb2f23b5c44127 (patch) | |
| tree | 466e768fef375dd038474f91abc4eb255dca93ec /lldb/source/Plugins/OperatingSystem | |
| parent | 9cb7a1be2a430a50fb5644b3f48d4a1544034fb9 (diff) | |
| download | bcm5719-llvm-4e26cf2cfb2b140a33ec236153cb2f23b5c44127.tar.gz bcm5719-llvm-4e26cf2cfb2b140a33ec236153cb2f23b5c44127.zip | |
[lldb/CMake] Rename LLDB_DISABLE_PYTHON to LLDB_ENABLE_PYTHON
This matches the naming scheme used by LLVM and all the other optional
dependencies in LLDB.
Differential revision: https://reviews.llvm.org/D71482
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem')
| -rw-r--r-- | lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp | 4 | ||||
| -rw-r--r-- | lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp index 3ed48e11d01..106457c0153 100644 --- a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp +++ b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp @@ -8,7 +8,7 @@ #include "lldb/Host/Config.h" -#ifndef LLDB_DISABLE_PYTHON +#if LLDB_ENABLE_PYTHON #include "OperatingSystemPython.h" @@ -418,4 +418,4 @@ lldb::ThreadSP OperatingSystemPython::CreateThread(lldb::tid_t tid, return ThreadSP(); } -#endif // #ifndef LLDB_DISABLE_PYTHON +#endif // #if LLDB_ENABLE_PYTHON diff --git a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h index e38f0f8aedf..4a594cf29a0 100644 --- a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h +++ b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h @@ -11,7 +11,7 @@ #include "lldb/Host/Config.h" -#ifndef LLDB_DISABLE_PYTHON +#if LLDB_ENABLE_PYTHON #include "lldb/Target/OperatingSystem.h" #include "lldb/Utility/StructuredData.h" @@ -82,6 +82,6 @@ protected: lldb_private::StructuredData::ObjectSP m_python_object_sp; }; -#endif // LLDB_DISABLE_PYTHON +#endif #endif // liblldb_OperatingSystemPython_h_ |

