MUTEX_* stuff when malloc.c gets copied to x2p/malloc.c.
p4raw-id: //depot/perl@61
/* XXX What about magic variables such as $/, $? and so on? */
HV * Tdefstash;
HV * Tcurstash;
- AV * Tpad;
- AV * Tpadname;
SV ** Ttmps_stack;
I32 Ttmps_ix;
#define Xpv (thr->TXpv)
#define defstash (thr->Tdefstash)
#define curstash (thr->Tcurstash)
-#define pad (thr->Tpad)
-#define padname (thr->Tpadname)
#define tmps_stack (thr->Ttmps_stack)
#define tmps_ix (thr->Ttmps_ix)
sed <../malloc.c >malloc.c \
-e 's/"EXTERN.h"/"..\/EXTERN.h"/' \
-e 's/"perl.h"/"..\/perl.h"/' \
- -e 's/my_exit/exit/'
+ -e 's/my_exit/exit/' \
+ -e 's/MUTEX_[A-Z_]*(&malloc_mutex);//'
# AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
$(obj):