Mercurial > vim
comparison src/if_perl.xs @ 9177:ee0564e3257d v7.4.1872
commit https://github.com/vim/vim/commit/c4bc0e6542185b659d2a165b635f9561549071ea
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 2 13:54:49 2016 +0200
patch 7.4.1872
Problem: Still build problem with old version of Perl.
Solution: Also define SvREFCNT_inc_void_NN if needed. (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 02 Jun 2016 14:00:08 +0200 |
parents | 20e7b99c33d4 |
children | 82cb3ed4781b |
comparison
equal
deleted
inserted
replaced
9176:92e68e3030c6 | 9177:ee0564e3257d |
---|---|
68 # define PERLIO_FUNCS_CAST(funcs) (PerlIO_funcs*)(funcs) | 68 # define PERLIO_FUNCS_CAST(funcs) (PerlIO_funcs*)(funcs) |
69 # else | 69 # else |
70 # define PERLIO_FUNCS_DECL(funcs) PerlIO_funcs funcs | 70 # define PERLIO_FUNCS_DECL(funcs) PerlIO_funcs funcs |
71 # define PERLIO_FUNCS_CAST(funcs) (funcs) | 71 # define PERLIO_FUNCS_CAST(funcs) (funcs) |
72 # endif | 72 # endif |
73 #endif | |
74 #ifndef SvREFCNT_inc_void_NN | |
75 # define SvREFCNT_inc_void_NN SvREFCNT_inc | |
73 #endif | 76 #endif |
74 | 77 |
75 /* | 78 /* |
76 * Work around clashes between Perl and Vim namespace. proto.h doesn't | 79 * Work around clashes between Perl and Vim namespace. proto.h doesn't |
77 * include if_perl.pro and perlsfio.pro when IN_PERL_FILE is defined, because | 80 * include if_perl.pro and perlsfio.pro when IN_PERL_FILE is defined, because |