diff options
author | Nicholas Clark <nick@ccl4.org> | 2004-03-16 22:36:49 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2004-03-16 22:36:49 +0000 |
commit | ea68fd6797dadac10ab76cd1e3819841adf4581b (patch) | |
tree | 58425ba9d94395ed2433ee13b03ca1490a0173b5 /intrpvar.h | |
parent | 0d7021f5240e725846173a1d0dc9d1773dcd2c3b (diff) | |
download | perl-ea68fd6797dadac10ab76cd1e3819841adf4581b.tar.gz |
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
Diffstat (limited to 'intrpvar.h')
-rw-r--r-- | intrpvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intrpvar.h b/intrpvar.h index 065119d0fd..ee805e6a07 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 */ |