summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dosish.h4
-rw-r--r--perl.h3
-rw-r--r--unixish.h4
3 files changed, 3 insertions, 8 deletions
diff --git a/dosish.h b/dosish.h
index a5eeace522..b930de2e3b 100644
--- a/dosish.h
+++ b/dosish.h
@@ -43,11 +43,7 @@
#endif /* DJGPP */
#ifndef PERL_SYS_TERM
-# ifdef USE_PERLIO
# define PERL_SYS_TERM() HINTS_REFCNT_TERM; OP_REFCNT_TERM; PERLIO_TERM; MALLOC_TERM
-# else
-# define PERL_SYS_TERM() HINTS_REFCNT_TERM; OP_REFCNT_TERM; MALLOC_TERM
-# endif
#endif
#define dXSUB_SYS
diff --git a/perl.h b/perl.h
index 93dad5bebf..d047030a9c 100644
--- a/perl.h
+++ b/perl.h
@@ -3876,6 +3876,9 @@ EXTERN_C void PerlIO_teardown(pTHX);
# define PERLIO_INIT
# define PERLIO_TERM PerlIO_teardown(aTHX)
# endif
+#else
+# define PERLIO_INIT
+# define PERLIO_TERM
#endif
#ifdef MYMALLOC
diff --git a/unixish.h b/unixish.h
index a08e8ba051..eeb074e80c 100644
--- a/unixish.h
+++ b/unixish.h
@@ -131,11 +131,7 @@
#endif
#ifndef PERL_SYS_TERM
-# ifdef USE_PERLIO
# define PERL_SYS_TERM() HINTS_REFCNT_TERM; OP_REFCNT_TERM; PERLIO_TERM; MALLOC_TERM
-# else
-# define PERL_SYS_TERM() HINTS_REFCNT_TERM; OP_REFCNT_TERM; MALLOC_TERM
-# endif
#endif
#define BIT_BUCKET "/dev/null"