diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-10-21 21:02:53 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-10-21 21:02:53 +0000 |
commit | 6b29934bd65555b7f172ba7a683ba95b59eb919b (patch) | |
tree | ced7bee3366f7491faf8b3db3d0c61128b520e8f | |
parent | 12b31bedfd2f422eff75009215acbc2ee0cc3fa6 (diff) | |
download | perl-6b29934bd65555b7f172ba7a683ba95b59eb919b.tar.gz |
Always defining PERLIO_TERM, even if it's empty, makes for a simpler
PERL_SYS_TERM
p4raw-id: //depot/perl@29073
-rw-r--r-- | dosish.h | 4 | ||||
-rw-r--r-- | perl.h | 3 | ||||
-rw-r--r-- | unixish.h | 4 |
3 files changed, 3 insertions, 8 deletions
@@ -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 @@ -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 @@ -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" |