0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 7.4.1869

Problem:    Can't build with old version of Perl.
Solution:   Define PERLIO_FUNCS_DECL. (Tom G. Christensen)
This commit is contained in:
Bram Moolenaar
2016-06-02 11:54:06 +02:00
parent b89a25f17e
commit cf190c6f01
2 changed files with 13 additions and 0 deletions

View File

@@ -61,6 +61,17 @@
# include <perliol.h> # include <perliol.h>
#endif #endif
/* Workaround for perl < 5.8.7 */
#ifndef PERLIO_FUNCS_DECL
# ifdef PERLIO_FUNCS_CONST
# define PERLIO_FUNCS_DECL(funcs) const PerlIO_funcs funcs
# define PERLIO_FUNCS_CAST(funcs) (PerlIO_funcs*)(funcs)
# else
# define PERLIO_FUNCS_DECL(funcs) PerlIO_funcs funcs
# define PERLIO_FUNCS_CAST(funcs) (funcs)
# endif
#endif
/* /*
* Work around clashes between Perl and Vim namespace. proto.h doesn't * Work around clashes between Perl and Vim namespace. proto.h doesn't
* include if_perl.pro and perlsfio.pro when IN_PERL_FILE is defined, because * include if_perl.pro and perlsfio.pro when IN_PERL_FILE is defined, because

View File

@@ -753,6 +753,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1869,
/**/ /**/
1868, 1868,
/**/ /**/