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] / unixish.h
index eeb074e..8a1a943 100644 (file)
--- a/unixish.h
+++ b/unixish.h
 #define Mkdir(path,mode)   mkdir((path),(mode))
 
 #ifndef PERL_SYS_INIT
-#  define PERL_SYS_INIT(c,v) MALLOC_CHECK_TAINT2(*c,*v) PERL_FPU_INIT MALLOC_INIT
+#  define PERL_SYS_INIT(c,v)                                           \
+       MALLOC_CHECK_TAINT2(*c,*v) PERL_FPU_INIT PERLIO_INIT; MALLOC_INIT
 #endif
 
 #ifndef PERL_SYS_TERM