From d68983e3d5168bcd1f156232bff7101561cb44fb Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Thu, 21 Jun 2018 17:36:32 +0000 Subject: 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 --- lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h index c818cbbd8b5..beeb6478236 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h @@ -10,6 +10,8 @@ #ifndef LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_PYTHONDATAOBJECTS_H #define LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_PYTHONDATAOBJECTS_H +#ifndef LLDB_DISABLE_PYTHON + // LLDB Python header must be included first #include "lldb-python.h" @@ -468,3 +470,5 @@ public: } // namespace lldb_private #endif + +#endif // LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_PYTHONDATAOBJECTS_H -- cgit v1.2.3