This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PERL_IMPLICIT_SYS compiles but does not work.
[perl5.git] / win32 / win32thread.h
index a52118b..1f8840c 100644 (file)
@@ -170,7 +170,7 @@ END_EXTERN_C
 #define ALLOC_THREAD_KEY \
     STMT_START {                                                       \
        if ((PL_thr_key = TlsAlloc()) == TLS_OUT_OF_INDEXES) {          \
-           fprintf(stderr,"panic: TlsAlloc");                          \
+           PerlIO_printf(PerlIO_stderr(),"panic: TlsAlloc");                           \
            exit(1);                                                    \
        }                                                               \
     } STMT_END