diff options
author | Pavel Labath <labath@google.com> | 2018-06-21 17:36:32 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2018-06-21 17:36:32 +0000 |
commit | d68983e3d5168bcd1f156232bff7101561cb44fb (patch) | |
tree | 6218e4ce69f9ce14ba4bad3e0d2ba9d61fe03035 /lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h | |
parent | b2431c6c337e7fb340e79dbd65dd96f599268121 (diff) | |
download | bcm5719-llvm-d68983e3d5168bcd1f156232bff7101561cb44fb.tar.gz bcm5719-llvm-d68983e3d5168bcd1f156232bff7101561cb44fb.zip |
Partially revert r335236
Jim pointed out that XCode has build configurations that build without
python and removing the ifdefs around the python code breaks them.
This reverts the #ifdef part of the above patch, while keeping the cmake
parts.
llvm-svn: 335260
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h index bcdf6e183ff..20f4b4c6329 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h @@ -10,6 +10,8 @@ #ifndef LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_PYTHONEXCEPTIONSTATE_H #define LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_PYTHONEXCEPTIONSTATE_H +#ifndef LLDB_DISABLE_PYTHON + #include "PythonDataObjects.h" namespace lldb_private { @@ -51,3 +53,5 @@ private: } #endif + +#endif |