aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-11-13 17:27:20 +0000
committerZachary Turner <zturner@google.com>2015-11-13 17:27:20 +0000
commita281b42b32e6ade8ff154f6cad3b8ec9f0c9f113 (patch)
treea6a10b8f813add4c94ef5cb896599348931f86dc /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
parentafd6e2f3c3698a41bbb2d490eb49887fc4360e1d (diff)
downloadllvm-a281b42b32e6ade8ff154f6cad3b8ec9f0c9f113.zip
llvm-a281b42b32e6ade8ff154f6cad3b8ec9f0c9f113.tar.gz
llvm-a281b42b32e6ade8ff154f6cad3b8ec9f0c9f113.tar.bz2
Make PythonDataObjects.h work when LLDB_DISABLE_PYTHON=1
llvm-svn: 253054
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h4
1 files changed, 4 insertions, 0 deletions
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