summaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-02-08 01:34:25 +0000
committerGreg Clayton <gclayton@apple.com>2011-02-08 01:34:25 +0000
commit2da6d495236931a07a79b605821210d096fe6f30 (patch)
tree065dd79b258f5f72b7cde3fb214de18181f5934f /lldb/source/Interpreter/ScriptInterpreterPython.cpp
parentde7f699754327136f0e5a592b65079560225934c (diff)
Patch that allows for thread_t to be something more complex than an
integer. Modified patch from Kirk Beitz. llvm-svn: 125067
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp')
-rw-r--r--lldb/source/Interpreter/ScriptInterpreterPython.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp
index a8f3e485747c..88f42233789c 100644
--- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp
+++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp
@@ -614,7 +614,7 @@ ScriptInterpreterPython::InputReaderCallback
embedded_interpreter_thread = Host::ThreadCreate ("<lldb.script-interpreter.embedded-python-loop>",
ScriptInterpreterPython::RunEmbeddedPythonInterpreter,
script_interpreter, NULL);
- if (embedded_interpreter_thread != LLDB_INVALID_HOST_THREAD)
+ if (IS_VALID_LLDB_HOST_THREAD(embedded_interpreter_thread))
{
if (log)
log->Printf ("ScriptInterpreterPython::InputReaderCallback, Activate, succeeded in creating thread (thread = %d)", embedded_interpreter_thread);