diff options
Diffstat (limited to 'contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h')
-rw-r--r-- | contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h b/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h index e76227ddb981..4a594cf29a08 100644 --- a/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h +++ b/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h @@ -9,7 +9,9 @@ #ifndef liblldb_OperatingSystemPython_h_ #define liblldb_OperatingSystemPython_h_ -#ifndef LLDB_DISABLE_PYTHON +#include "lldb/Host/Config.h" + +#if LLDB_ENABLE_PYTHON #include "lldb/Target/OperatingSystem.h" #include "lldb/Utility/StructuredData.h" @@ -80,6 +82,6 @@ protected: lldb_private::StructuredData::ObjectSP m_python_object_sp; }; -#endif // LLDB_DISABLE_PYTHON +#endif #endif // liblldb_OperatingSystemPython_h_ |