summaryrefslogtreecommitdiff
path: root/miniperlmain.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>1997-11-16 23:16:16 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>1997-11-16 23:16:16 +0000
commit8d9481945a6b8b7a5f7fda873563149bbb96e4ba (patch)
tree26436117852e4e65365ca4b63cb796adbecef293 /miniperlmain.c
parentbbc8f9de328519d89fa89d8fca21fe808800d6a2 (diff)
downloadperl-8d9481945a6b8b7a5f7fda873563149bbb96e4ba.tar.gz
Generic file changes for MYMALLOC
p4raw-id: //depot/ansiperl@260
Diffstat (limited to 'miniperlmain.c')
-rw-r--r--miniperlmain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/miniperlmain.c b/miniperlmain.c
index 27ad541fb4..81e649344d 100644
--- a/miniperlmain.c
+++ b/miniperlmain.c
@@ -25,6 +25,10 @@ char **env;
{
int exitstatus;
+#ifdef USE_THREADS
+ MUTEX_INIT(&malloc_mutex);
+#endif
+
PERL_SYS_INIT(&argc,&argv);
perl_init_i18nl10n(1);