This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add PERLIO_INIT to PERL_SYS_INIT.
[perl5.git] / perl.h
diff --git a/perl.h b/perl.h
index d047030..b23439f 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -3865,7 +3865,7 @@ typedef Sighandler_t Sigsave_t;
 
 #ifdef USE_PERLIO
 EXTERN_C void PerlIO_teardown(pTHX);
-# ifdef USE_THREADS
+# ifdef USE_ITHREADS
 #  define PERLIO_INIT MUTEX_INIT(&PL_perlio_mutex)
 #  define PERLIO_TERM                          \
        STMT_START {                            \