]> granicus.if.org Git - vim/commitdiff
patch 7.4.1872 v7.4.1872
authorBram Moolenaar <Bram@vim.org>
Thu, 2 Jun 2016 11:54:49 +0000 (13:54 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 2 Jun 2016 11:54:49 +0000 (13:54 +0200)
Problem:    Still build problem with old version of Perl.
Solution:   Also define SvREFCNT_inc_void_NN if needed. (Ken Takata)

src/if_perl.xs
src/version.c

index 83f14793c2f41d2ce1aae6eb63be90c49a6f1a6c..89aa2db124d71e3dd544331b83be49b6e9dfb88a 100644 (file)
@@ -71,6 +71,9 @@
 #  define PERLIO_FUNCS_CAST(funcs) (funcs)
 # endif
 #endif
+#ifndef SvREFCNT_inc_void_NN
+# define SvREFCNT_inc_void_NN SvREFCNT_inc
+#endif
 
 /*
  * Work around clashes between Perl and Vim namespace. proto.h doesn't
index 3340537ba5e2190df935c28d69b401bf97ba7aba..b87300af374ff8d472eb6283712cd077b62bdb24 100644 (file)
@@ -753,6 +753,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1872,
 /**/
     1871,
 /**/