p4raw-id: //depot/perl@4790
# 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
#ifdef PERL_CAPI
# undef PERL_OBJECT
+# ifndef MULTIPLICITY
+# define MULTIPLICITY
+# endif
# ifndef PERL_IMPLICIT_CONTEXT
# define PERL_IMPLICIT_CONTEXT
# endif
# 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