X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/b089116590f5bd8ca52e6ccd2a029c8fc0abb2ae..52b37024902e2235753cc53604567cfd4be0b15a:/plan9/plan9ish.h diff --git a/plan9/plan9ish.h b/plan9/plan9ish.h index 5c922cf..0fdce12 100644 --- a/plan9/plan9ish.h +++ b/plan9/plan9ish.h @@ -93,9 +93,7 @@ */ /* #define ALTERNATE_SHEBANG "#!" / **/ -#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX) -# include -#endif +#include #ifndef SIGABRT # define SIGABRT SIGILL @@ -106,9 +104,10 @@ #define ABORT() kill(PerlProc_getpid(),SIGABRT); #define BIT_BUCKET "/dev/null" -#define PERL_SYS_INIT(c,v) MALLOC_CHECK_TAINT2(*c,*v) MALLOC_INIT +#define PERL_SYS_INIT_BODY(c,v) \ + MALLOC_CHECK_TAINT2(*c,*v) PERLIO_INIT; MALLOC_INIT #define dXSUB_SYS -#define PERL_SYS_TERM() MALLOC_TERM +#define PERL_SYS_TERM_BODY() PERLIO_TERM; MALLOC_TERM /* * fwrite1() should be a routine with the same calling sequence as fwrite(),