summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-24 13:04:45 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-24 13:04:45 +0000
commit6f4183fe04888927cb36b966262c959c5166404b (patch)
tree32ab99da98da61a8b85e3421019af7edf6cc1fe4 /perl.h
parent6570f7848406340d371b9f81689299e3b739279f (diff)
downloadperl-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.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/perl.h b/perl.h
index 52f85a58a9..518f4b3c5a 100644
--- a/perl.h
+++ b/perl.h
@@ -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