From c4bc0e6542185b659d2a165b635f9561549071ea Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 2 Jun 2016 13:54:49 +0200 Subject: [PATCH] patch 7.4.1872 Problem: Still build problem with old version of Perl. Solution: Also define SvREFCNT_inc_void_NN if needed. (Ken Takata) --- src/if_perl.xs | 3 +++ src/version.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/if_perl.xs b/src/if_perl.xs index 83f14793c2..89aa2db124 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 3340537ba5..b87300af37 100644 --- a/src/version.c +++ b/src/version.c @@ -753,6 +753,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1872, /**/ 1871, /**/