This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Always define sTHX as 0 when not using mem debug header
authorFather Chrysostomos <sprout@cpan.org>
Fri, 17 Jan 2014 14:11:02 +0000 (06:11 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 17 Jan 2014 14:11:02 +0000 (06:11 -0800)
commit60175f94ae4d64a920f29b11a9ba63fa99210cd7
tree123ec576311226232f4302d6586ef3ce4f8d79a6
parent17d71c044d63af9e91a72a6619b3ed942c5e6e3c
Always define sTHX as 0 when not using mem debug header

I broke the threaded build in b001a0d149 by assuming that sTHX was
always set to 0 when memory debug headers were not in use.  That is
an easy assumption to make, so this commit makes that assumption true.
(And there is no reason it cannot be made true.  There is no need for
sTHX to be set under PERL_IMPLICIT_CONTEXT but not PERL_TRACK_MEMPOOL,
where sTHX was not even used before b001a0d149.)
perl.h