summaryrefslogtreecommitdiff
path: root/win32/win32thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32thread.c')
-rw-r--r--win32/win32thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32thread.c b/win32/win32thread.c
index b40c5aa251..543fc130f5 100644
--- a/win32/win32thread.c
+++ b/win32/win32thread.c
@@ -44,7 +44,7 @@ Perl_alloc_thread_key(void)
static int key_allocated = 0;
if (!key_allocated) {
if ((PL_thr_key = TlsAlloc()) == TLS_OUT_OF_INDEXES)
- croak("panic: TlsAlloc");
+ Perl_croak_nocontext("panic: TlsAlloc");
key_allocated = 1;
}
#endif