X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=blobdiff_plain;f=indirect.xs;fp=indirect.xs;h=d8e7d0deb9d21ebc25cbfa683a86c84e9db71af8;hp=fd742ebf9cac5c72a1402df39a04e544b8d2a80c;hb=66fbc02a67af759ab45aef7e8c6ac5d659551311;hpb=b5c134ab71c3f931cc2c9b55eb69b44ced87e46e diff --git a/indirect.xs b/indirect.xs index fd742eb..d8e7d0d 100644 --- a/indirect.xs +++ b/indirect.xs @@ -113,12 +113,17 @@ #endif #ifndef I_MULTIPLICITY -# if defined(MULTIPLICITY) || defined(PERL_IMPLICIT_CONTEXT) +# if defined(MULTIPLICITY) # define I_MULTIPLICITY 1 # else # define I_MULTIPLICITY 0 # endif #endif +#if I_MULTIPLICITY +# ifndef PERL_IMPLICIT_CONTEXT +# error MULTIPLICITY builds must set PERL_IMPLICIT_CONTEXT +# endif +#endif #if I_MULTIPLICITY && !defined(tTHX) # define tTHX PerlInterpreter* #endif