]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commitdiff
Compatibility fix for perl 5.13.8 rt63378
authorVincent Pit <vince@profvince.com>
Mon, 20 Dec 2010 00:20:44 +0000 (01:20 +0100)
committerVincent Pit <vince@profvince.com>
Mon, 20 Dec 2010 00:21:21 +0000 (01:21 +0100)
This fixes RT #63378.

Upper.xs

index 47dab2b2100ea76d5b2ec5f68e268ee3aaf7df2b..b3f6e4eaf297845dcac4e206d4d669e16e3f058e 100644 (file)
--- a/Upper.xs
+++ b/Upper.xs
@@ -167,8 +167,10 @@ START_MY_CXT
 # define SU_SAVE_GP_SIZE 6
 #elif !SU_HAS_PERL(5, 13, 0) || (SU_RELEASE && SU_HAS_PERL_EXACT(5, 13, 0))
 # define SU_SAVE_GP_SIZE 3
-#else
+#elif !SU_HAS_PERL(5, 13, 8)
 # define SU_SAVE_GP_SIZE 4
+#else
+# define SU_SAVE_GP_SIZE 3
 #endif
 
 #ifndef SvCANEXISTDELETE