commit | c4bc0e6542185b659d2a165b635f9561549071ea | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jun 02 13:54:49 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jun 02 13:54:49 2016 +0200 |
tree | bc38e137318e4873ab9d63e02e3988ecec1420f7 | |
parent | 864293abb72d62604d8d6b458addfb43c14230c3 [diff] [blame] |
patch 7.4.1872 Problem: Still build problem with old version of Perl. Solution: Also define SvREFCNT_inc_void_NN if needed. (Ken Takata)
diff --git a/src/if_perl.xs b/src/if_perl.xs index 83f1479..89aa2db 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