From: Vincent Pit Date: Sat, 5 Jul 2008 11:44:48 +0000 (+0200) Subject: 'uvar' magic will never be backported to 5.8, enable it only in maint-5.10 and higher X-Git-Tag: v0.19~6 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=40d1b68c7d0fb47f788579639d0712dd801339f6;p=perl%2Fmodules%2FVariable-Magic.git 'uvar' magic will never be backported to 5.8, enable it only in maint-5.10 and higher --- diff --git a/Magic.xs b/Magic.xs index be96e8c..4e62500 100644 --- a/Magic.xs +++ b/Magic.xs @@ -72,7 +72,7 @@ #endif /* uvar magic and Hash::Util::FieldHash were commited with p28419 */ -#if (VMG_PERL_PATCHLEVEL >= 28419) || (!VMG_PERL_PATCHLEVEL && PERL_VERSION_GE(5, 9, 4)) +#if VMG_HAS_PERL_AND(28419, 5, 9, 4) # define VMG_UVAR 1 #else # define VMG_UVAR 0