summaryrefslogtreecommitdiff
path: root/src/if_perl.xs
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 /src/if_perl.xs
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)
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r--src/if_perl.xs3
1 files changed, 3 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