summaryrefslogtreecommitdiff
path: root/unixish.h
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2007-09-25 18:00:32 +0000
committerDave Mitchell <davem@fdisolutions.com>2007-09-25 18:00:32 +0000
commitcbec8ebe2f7855c619451e56c6921e1537d3eba5 (patch)
treeb15c2a3f29a517dce5b080fa94e0beef050444dc /unixish.h
parent6f8d0260355f8c4ae7955768122638ad99f0ebab (diff)
downloadperl-cbec8ebe2f7855c619451e56c6921e1537d3eba5.tar.gz
make PERL_SYS_INIT/INIT3/TERM into functions
p4raw-id: //depot/perl@31970
Diffstat (limited to 'unixish.h')
-rw-r--r--unixish.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/unixish.h b/unixish.h
index 5f95ba5cad..5abb42c1b0 100644
--- a/unixish.h
+++ b/unixish.h
@@ -126,13 +126,13 @@
#define Fflush(fp) fflush(fp)
#define Mkdir(path,mode) mkdir((path),(mode))
-#ifndef PERL_SYS_INIT
-# define PERL_SYS_INIT(c,v) \
+#ifndef PERL_SYS_INIT_BODY
+# define PERL_SYS_INIT_BODY(c,v) \
MALLOC_CHECK_TAINT2(*c,*v) PERL_FPU_INIT; PERLIO_INIT; MALLOC_INIT
#endif
-#ifndef PERL_SYS_TERM
-# define PERL_SYS_TERM() \
+#ifndef PERL_SYS_TERM_BODY
+# define PERL_SYS_TERM_BODY() \
if (!PL_veto_cleanup) { \
HINTS_REFCNT_TERM; OP_REFCNT_TERM; PERLIO_TERM; MALLOC_TERM; \
}