changeset 9177:ee0564e3257d v7.4.1872

commit https://github.com/vim/vim/commit/c4bc0e6542185b659d2a165b635f9561549071ea Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 2 13:54:49 2016 +0200 patch 7.4.1872 Problem: Still build problem with old version of Perl. Solution: Also define SvREFCNT_inc_void_NN if needed. (Ken Takata)
author Christian Brabandt <cb@256bit.org>
date Thu, 02 Jun 2016 14:00:08 +0200
parents 92e68e3030c6
children 4f47bb74ecb7
files src/if_perl.xs src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1872,
+/**/
     1871,
 /**/
     1870,