diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-06-02 13:54:49 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-06-02 13:54:49 +0200 |
commit | c4bc0e6542185b659d2a165b635f9561549071ea (patch) | |
tree | bc38e137318e4873ab9d63e02e3988ecec1420f7 /src/if_perl.xs | |
parent | 864293abb72d62604d8d6b458addfb43c14230c3 (diff) | |
download | vim-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.xs | 3 |
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 |