summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-06-02 13:54:49 +0200
committerBram Moolenaar <Bram@vim.org>2016-06-02 13:54:49 +0200
commitc4bc0e6542185b659d2a165b635f9561549071ea (patch)
treebc38e137318e4873ab9d63e02e3988ecec1420f7
parent864293abb72d62604d8d6b458addfb43c14230c3 (diff)
downloadvim-git-c4bc0e6542185b659d2a165b635f9561549071ea.tar.gz
patch 7.4.1872v7.4.1872
Problem: Still build problem with old version of Perl. Solution: Also define SvREFCNT_inc_void_NN if needed. (Ken Takata)
-rw-r--r--src/if_perl.xs3
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs
index 83f14793c..89aa2db12 100644
--- 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
diff --git a/src/version.c b/src/version.c
index 3340537ba..b87300af3 100644
--- 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,