diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-24 13:04:45 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-24 13:04:45 +0000 |
commit | 6f4183fe04888927cb36b966262c959c5166404b (patch) | |
tree | 32ab99da98da61a8b85e3421019af7edf6cc1fe4 /perl.h | |
parent | 6570f7848406340d371b9f81689299e3b739279f (diff) | |
download | perl-6f4183fe04888927cb36b966262c959c5166404b.tar.gz |
enable function wrappers for access to globals under MULTIPLICITY
(provides binary compatibility in the face of changes in interpreter
structure)
p4raw-id: //depot/perl@4878
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -37,6 +37,12 @@ /* See L<perlguts/"The Perl API"> for detailed notes on * PERL_IMPLICIT_CONTEXT and PERL_IMPLICIT_SYS */ +#ifdef USE_ITHREADS +# if !defined(MULTIPLICITY) && !defined(PERL_OBJECT) +# define MULTIPLICITY +# endif +#endif + #ifdef USE_THREADS # ifndef PERL_IMPLICIT_CONTEXT # define PERL_IMPLICIT_CONTEXT @@ -71,10 +77,6 @@ # endif #endif -#if defined(USE_ITHREADS) && !defined(MULTIPLICITY) && !defined(PERL_OBJECT) -# include "error: USE_ITHREADS must be built with MULTIPLICITY" -#endif - #ifdef PERL_OBJECT /* PERL_OBJECT explained - DickH and DougL @ ActiveState.com |