summaryrefslogtreecommitdiff
path: root/epoc/epocish.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-10-21 23:01:45 +0000
committerNicholas Clark <nick@ccl4.org>2006-10-21 23:01:45 +0000
commitac5a684e91b96c66e134bedef4a18360ad57a796 (patch)
tree0e6e2a945fd32067064b3b48883ed44ebfcbfac3 /epoc/epocish.h
parentd0ade26cf1fee91934267b3f3efb9fd9fbf4ecfe (diff)
downloadperl-ac5a684e91b96c66e134bedef4a18360ad57a796.tar.gz
Add PERLIO_INIT and PERLIO_TERM to PERL_SYS_INIT* and PERL_SYS_TERM*
in */*ish.h headers. p4raw-id: //depot/perl@29077
Diffstat (limited to 'epoc/epocish.h')
-rw-r--r--epoc/epocish.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/epoc/epocish.h b/epoc/epocish.h
index a971a8e6c7..34121ef16f 100644
--- a/epoc/epocish.h
+++ b/epoc/epocish.h
@@ -108,11 +108,13 @@
/* epocemx setenv bug workaround */
#ifndef PERL_SYS_INIT
-# define PERL_SYS_INIT(c,v) MALLOC_CHECK_TAINT2(*c,*v) putenv(".dummy=foo"); putenv(".dummy"); MALLOC_INIT
+# define PERL_SYS_INIT(c,v) \
+ MALLOC_CHECK_TAINT2(*c,*v) putenv(".dummy=foo"); putenv(".dummy"); \
+ PERLIO_INIT; MALLOC_INIT
#endif
#ifndef PERL_SYS_TERM
-#define PERL_SYS_TERM() MALLOC_TERM
+#define PERL_SYS_TERM() PERLIO_TERM; MALLOC_TERM
#endif
#define BIT_BUCKET "/dev/null"