From a281b42b32e6ade8ff154f6cad3b8ec9f0c9f113 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Fri, 13 Nov 2015 17:27:20 +0000 Subject: Make PythonDataObjects.h work when LLDB_DISABLE_PYTHON=1 llvm-svn: 253054 --- 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 a23052f..4e1eed6 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 + // C Includes // C++ Includes // Other libraries and framework includes @@ -488,4 +490,6 @@ class PythonFile : public PythonObject } // namespace lldb_private +#endif + #endif // LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_PYTHONDATAOBJECTS_H -- cgit v1.1