summaryrefslogtreecommitdiff
path: root/unixish.h
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1997-11-25 15:59:16 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-11-25 15:59:16 +0000
commit18f739eeef869ffadc3775821df62e4b90bf75b0 (patch)
tree53cd79aed73f55f7b2876741c2fb27786134a75a /unixish.h
parentd0066dc7de72349a42c2c47e1fc66da2ba66542a (diff)
downloadperl-18f739eeef869ffadc3775821df62e4b90bf75b0.tar.gz
Move malloc_mutex initialisation/destruction:
Subject: patch to 5.004_54 for pthreads with Perl's malloc p4raw-id: //depot/perl@299
Diffstat (limited to 'unixish.h')
-rw-r--r--unixish.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/unixish.h b/unixish.h
index a13e2bd86a..e4687ce50f 100644
--- a/unixish.h
+++ b/unixish.h
@@ -109,14 +109,14 @@
#ifndef PERL_SYS_INIT
#ifdef PERL_SCO5
/* this should be set in a hint file, not here */
-# define PERL_SYS_INIT(c,v) fpsetmask(0)
+# define PERL_SYS_INIT(c,v) fpsetmask(0); MALLOC_INIT
#else
-# define PERL_SYS_INIT(c,v)
+# define PERL_SYS_INIT(c,v) MALLOC_INIT
#endif
#endif
#ifndef PERL_SYS_TERM
-#define PERL_SYS_TERM()
+#define PERL_SYS_TERM() MALLOC_TERM
#endif
#define BIT_BUCKET "/dev/null"