diff options
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp index 5a17316..d28a803 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp @@ -7,6 +7,8 @@ // //===----------------------------------------------------------------------===// +#ifndef LLDB_DISABLE_PYTHON + // LLDB Python header must be included first #include "lldb-python.h" @@ -164,3 +166,5 @@ std::string PythonExceptionState::ReadBacktrace() const { return retval; } + +#endif |