]> git.vpit.fr Git - perl/modules/Variable-Magic.git/commitdiff
'uvar' magic will never be backported to 5.8, enable it only in maint-5.10 and higher
authorVincent Pit <vince@profvince.com>
Sat, 5 Jul 2008 11:44:48 +0000 (13:44 +0200)
committerVincent Pit <vince@profvince.com>
Sat, 5 Jul 2008 11:44:48 +0000 (13:44 +0200)
Magic.xs

index be96e8c4f9177e6a277d84fdfff767219c356a03..4e62500715cb6773dc93d95741278332e6e3f31d 100644 (file)
--- 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