summaryrefslogtreecommitdiff
path: root/win32_threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32_threads.c')
-rw-r--r--win32_threads.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32_threads.c b/win32_threads.c
index 4ff7c9cb..c60a2592 100644
--- a/win32_threads.c
+++ b/win32_threads.c
@@ -396,7 +396,8 @@ STATIC void GC_suspend(GC_thread t)
# endif
# endif
-# ifdef DEBUG_THREADS
+# if defined(DEBUG_THREADS) && !defined(MSWINCE) \
+ && (!defined(MSWIN32) || defined(CONSOLE_LOG))
GC_log_printf("Suspending 0x%x\n", (int)t->id);
# endif
GC_win32_unprotect_thread(t);