Export PL_curinterp symbol for MULTIPLICITY without USE_ITHREADS
authorJan Dubois <jand@activestate.com>
Fri, 18 Dec 2009 02:28:16 +0000 (18:28 -0800)
committerJan Dubois <jand@activestate.com>
Fri, 18 Dec 2009 02:28:16 +0000 (18:28 -0800)
commit9307c420fad2f6f5bd314f9ed66dd53288703e09
tree9a2220df2fbb1128bf0ce8698fdda2bf58861b77
parent8703a9a4fd75723318bc4ba1afc42a215806f2d1
Export PL_curinterp symbol for MULTIPLICITY without USE_ITHREADS

This is necessary for XS extensions that define PERL_CORE.  In that
situation PERL_GET_CONTEXT will resolve to PL_curinterp, which is
normally not exported (extensions call Perl_Gcurinterp_ptr() to get a
pointer to PL_curinterp instead). With USE_ITHREADS defined
PERL_GET_CONTEXT will expand to Perl_get_context() even inside the
core because the context needs to be fetched from threadlocal storage.
makedef.pl