summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.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/PythonExceptionState.h
parentafd6e2f3c3698a41bbb2d490eb49887fc4360e1d (diff)
downloadbcm5719-llvm-a281b42b32e6ade8ff154f6cad3b8ec9f0c9f113.tar.gz
bcm5719-llvm-a281b42b32e6ade8ff154f6cad3b8ec9f0c9f113.zip
Make PythonDataObjects.h work when LLDB_DISABLE_PYTHON=1
llvm-svn: 253054
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h4
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 3cf24ffed00..c74e52b9ef5 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
@@ -64,3 +66,5 @@ class PythonExceptionState
}
#endif
+
+#endif
OpenPOWER on IntegriCloud