summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 78f14eb142..ca684c84cd 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -4665,7 +4665,11 @@ win32_signal_context(void)
}
return my_perl;
#else
+#ifdef USE_5005THREADS
return aTHX;
+#else
+ return PL_curinterp;
+#endif
#endif
}