summaryrefslogtreecommitdiff
path: root/objXSUB.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-10-17 23:43:59 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-10-17 23:43:59 +0000
commitb363f7ed458679f785ff5f459a6ae701688eb6f5 (patch)
treed1d739a0d522d5a7669690df46c1531ff207ca3e /objXSUB.h
parent32e30700cf966bf527dceb0482a205346d2d955f (diff)
downloadperl-b363f7ed458679f785ff5f459a6ae701688eb6f5.tar.gz
PL_malloc_mutex needs to be global, not per-interpreter
(malloc.c has static data) p4raw-id: //depot/perl@4403
Diffstat (limited to 'objXSUB.h')
-rw-r--r--objXSUB.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/objXSUB.h b/objXSUB.h
index 9620006725..fb8698bf98 100644
--- a/objXSUB.h
+++ b/objXSUB.h
@@ -274,8 +274,6 @@
#define PL_main_root (*Perl_Imain_root_ptr(aTHXo))
#undef PL_main_start
#define PL_main_start (*Perl_Imain_start_ptr(aTHXo))
-#undef PL_malloc_mutex
-#define PL_malloc_mutex (*Perl_Imalloc_mutex_ptr(aTHXo))
#undef PL_max_intro_pending
#define PL_max_intro_pending (*Perl_Imax_intro_pending_ptr(aTHXo))
#undef PL_maxo
@@ -830,6 +828,8 @@
#define PL_do_undump (*Perl_Gdo_undump_ptr(NULL))
#undef PL_hexdigit
#define PL_hexdigit (*Perl_Ghexdigit_ptr(NULL))
+#undef PL_malloc_mutex
+#define PL_malloc_mutex (*Perl_Gmalloc_mutex_ptr(NULL))
#undef PL_patleave
#define PL_patleave (*Perl_Gpatleave_ptr(NULL))