diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-10 18:56:16 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-10 18:56:16 +0000 |
commit | 9880fea4465d0a130eccfb25ae31bf595e3bb791 (patch) | |
tree | c00d3b767eaa47b17917d24826aa5cda151cb441 | |
parent | f7aeb604c5566ea382e11775c0d364a41af8fbb9 (diff) | |
download | perl-9880fea4465d0a130eccfb25ae31bf595e3bb791.tar.gz |
check for USE_ITHREADS sanity was too restrictive
p4raw-id: //depot/perl@4790
-rw-r--r-- | perl.h | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -43,10 +43,6 @@ # endif #endif -#if defined(USE_ITHREADS) && !defined(MULTIPLICITY) -# include "error: USE_ITHREADS must be built with MULTIPLICITY" -#endif - #if defined(MULTIPLICITY) # ifndef PERL_IMPLICIT_CONTEXT # define PERL_IMPLICIT_CONTEXT @@ -55,6 +51,9 @@ #ifdef PERL_CAPI # undef PERL_OBJECT +# ifndef MULTIPLICITY +# define MULTIPLICITY +# endif # ifndef PERL_IMPLICIT_CONTEXT # define PERL_IMPLICIT_CONTEXT # endif @@ -72,6 +71,10 @@ # 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 |