diff options
author | Zachary Turner <zturner@google.com> | 2015-11-13 20:28:31 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-11-13 20:28:31 +0000 |
commit | 1f1c5a7b441eb30592b066f6910eabbeff4e662e (patch) | |
tree | e36884ef8cf1191161f2dcea7e0bc5d330754ab8 /lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp | |
parent | dd0071f44008cd63e1a7fe0e21cbce7f895019c2 (diff) | |
download | bcm5719-llvm-1f1c5a7b441eb30592b066f6910eabbeff4e662e.tar.gz bcm5719-llvm-1f1c5a7b441eb30592b066f6910eabbeff4e662e.zip |
Another fix for LLDB_DISABLE_PYTHON=1
llvm-svn: 253073
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp index b66f9a6b891..23ae3d3770f 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 + #include "lldb-python.h" #include "PythonExceptionState.h" @@ -202,4 +204,6 @@ PythonExceptionState::ReadBacktrace() const retval.assign(string_data.data(), string_data.size()); return retval; -}
\ No newline at end of file +} + +#endif |