From: Nicholas Clark Date: Tue, 16 Mar 2004 22:36:49 +0000 (+0000) Subject: Move the PERLVAR(Ireentrant_buffer, REENTR*) outside the ITHREADS X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ea68fd6797dadac10ab76cd1e3819841adf4581b;p=p5sagit%2Fp5-mst-13.2.git Move the PERLVAR(Ireentrant_buffer, REENTR*) outside the ITHREADS block. This allows the re-entrant API to be used with ithreads, which in turn permits -Dusethreads -Uuseithreads -Uuse5005threads (Which may seem inane, but makes perl threaded at the C level without enabling ithreads) p4raw-id: //depot/perl@22514 --- diff --git a/intrpvar.h b/intrpvar.h index 065119d..ee805e6 100644 --- a/intrpvar.h +++ b/intrpvar.h @@ -453,10 +453,10 @@ PERLVAR(Inumeric_radix_sv, SV *) /* The radix separator if not '.' */ PERLVAR(Iregex_pad, SV**) /* All regex objects */ PERLVAR(Iregex_padav, AV*) /* All regex objects */ -#ifdef USE_REENTRANT_API -PERLVAR(Ireentrant_buffer, REENTR*) /* here we store the _r buffers */ #endif +#ifdef USE_REENTRANT_API +PERLVAR(Ireentrant_buffer, REENTR*) /* here we store the _r buffers */ #endif PERLVARI(Isavebegin, bool, FALSE) /* save BEGINs for compiler */