From: Vincent Pit Date: Sun, 12 Oct 2008 14:49:35 +0000 (+0200) Subject: Really fix building on perls with multiplicity but no threads X-Git-Tag: v0.24~1 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=775cafc235ca9ffffbf14a260cd2faece8b59fc4;p=perl%2Fmodules%2FVariable-Magic.git Really fix building on perls with multiplicity but no threads --- diff --git a/Magic.xs b/Magic.xs index 4574c23..19eb15c 100644 --- a/Magic.xs +++ b/Magic.xs @@ -49,7 +49,7 @@ # define tTHX PerlInterpreter* #endif -#if VMG_MULTIPLICITY && defined(dMY_CXT) && defined(MY_CXT) && defined(START_MY_CXT) && defined(MY_CXT_INIT) && (defined(MY_CXT_CLONE) || defined(dMY_CXT_SV)) +#if VMG_MULTIPLICITY && defined(USE_ITHREADS) && defined(dMY_CXT) && defined(MY_CXT) && defined(START_MY_CXT) && defined(MY_CXT_INIT) && (defined(MY_CXT_CLONE) || defined(dMY_CXT_SV)) # define VMG_THREADSAFE 1 # ifndef MY_CXT_CLONE # define MY_CXT_CLONE \