0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

updated for version 7.4.127

Problem:    Perl 5.18 on Unix doesn't work.
Solution:   Move workaround to after including vim.h. (Ken Takata)
This commit is contained in:
Bram Moolenaar 2013-12-14 11:46:08 +01:00
parent 36c85b2c46
commit 7c0daf088e
2 changed files with 9 additions and 7 deletions

View File

@ -24,13 +24,6 @@
# define _USE_32BIT_TIME_T
#endif
/* Work around for perl-5.18.
* Don't include "perl\lib\CORE\inline.h" for now,
* include it after Perl_sv_free2 is defined. */
#ifdef DYNAMIC_PERL
# define PERL_NO_INLINE_FUNCTIONS
#endif
/*
* Prevent including winsock.h. perl.h tries to detect whether winsock.h is
* already included before including winsock2.h, because winsock2.h isn't
@ -44,6 +37,13 @@
#include "vim.h"
/* Work around for perl-5.18.
* Don't include "perl\lib\CORE\inline.h" for now,
* include it after Perl_sv_free2 is defined. */
#ifdef DYNAMIC_PERL
# define PERL_NO_INLINE_FUNCTIONS
#endif
#include <EXTERN.h>
#include <perl.h>
#include <XSUB.h>

View File

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