summaryrefslogtreecommitdiff
path: root/darwin_stop_world.c
diff options
context:
space:
mode:
Diffstat (limited to 'darwin_stop_world.c')
-rw-r--r--darwin_stop_world.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/darwin_stop_world.c b/darwin_stop_world.c
index 4bbf4042..0468aaec 100644
--- a/darwin_stop_world.c
+++ b/darwin_stop_world.c
@@ -664,7 +664,7 @@ GC_INLINE void GC_thread_resume(thread_act_t thread)
struct thread_basic_info info;
mach_msg_type_number_t outCount = THREAD_BASIC_INFO_COUNT;
-# if defined(CPPCHECK) && defined(DEBUG_THREADS)
+# ifdef CPPCHECK
info.run_state = 0;
# endif
kern_result = thread_info(thread, THREAD_BASIC_INFO,