diff options
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp index 671e8f9f23b..6a9d57d5a30 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp @@ -7,6 +7,12 @@ // //===----------------------------------------------------------------------===// +#ifdef LLDB_DISABLE_PYTHON + +// Python is disabled in this build + +#else + #include "PythonDataObjects.h" #include "ScriptInterpreterPython.h" @@ -1028,3 +1034,5 @@ bool PythonFile::GetUnderlyingFile(File &file) const { file.SetOptions(PythonFile::GetOptionsFromMode(py_mode.GetString())); return file.IsValid(); } + +#endif |