]> git.vpit.fr Git - perl/modules/Variable-Magic.git/blobdiff - Magic.xs
Compatibility fix for 5.11.1
[perl/modules/Variable-Magic.git] / Magic.xs
index db8e2308e4cb630088cbf98d3b7bab7fbe1ba628..628bf5666c8602338f06db61241facbc58479de9 100644 (file)
--- a/Magic.xs
+++ b/Magic.xs
@@ -152,6 +152,8 @@ STATIC SV *vmg_clone(pTHX_ SV *sv, tTHX owner) {
  * reverted to dev-5.11 as 9cdcb38b */
 #if VMG_HAS_PERL_MAINT(5, 8, 9, 28160) || VMG_HAS_PERL_MAINT(5, 9, 3, 25854) || VMG_HAS_PERL(5, 10, 0)
 # ifndef VMG_COMPAT_ARRAY_PUSH_NOLEN
+/* This branch should only apply for perls before the official 5.11.0 release.
+ * Makefile.PL takes care of the higher ones. */
 #  define VMG_COMPAT_ARRAY_PUSH_NOLEN 1
 # endif
 # ifndef VMG_COMPAT_ARRAY_PUSH_NOLEN_VOID