[Lldb-commits] [lldb] r253073 - Another fix for LLDB_DISABLE_PYTHON=1

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 13 12:28:31 PST 2015


Author: zturner
Date: Fri Nov 13 14:28:31 2015
New Revision: 253073

URL: http://llvm.org/viewvc/llvm-project?rev=253073&view=rev
Log:
Another fix for LLDB_DISABLE_PYTHON=1

Modified:
    lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp

Modified: lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp?rev=253073&r1=253072&r2=253073&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp (original)
+++ lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp Fri Nov 13 14:28:31 2015
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+#ifndef LLDB_DISABLE_PYTHON
+
 #include "lldb-python.h"
 #include "PythonExceptionState.h"
 
@@ -202,4 +204,6 @@ PythonExceptionState::ReadBacktrace() co
     retval.assign(string_data.data(), string_data.size());
 
     return retval;
-}
\ No newline at end of file
+}
+
+#endif




More information about the lldb-commits mailing list