mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -04:00
patch 8.1.0420: generating vim.lib when using ActivePerl 5.20.3 or later
Problem: Generating vim.lib when using ActivePerl 5.20.3 or later. Solution: Redefine XS_EXTERNAL(). (Ken Takata, closes #3462)
This commit is contained in:
parent
de2bd37bec
commit
1f402806b8
@ -88,10 +88,8 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Perl compatibility stuff. This should ensure compatibility with older
|
// Perl compatibility stuff. This should ensure compatibility with older
|
||||||
* versions of Perl.
|
// versions of Perl.
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef PERL_VERSION
|
#ifndef PERL_VERSION
|
||||||
# include <patchlevel.h>
|
# include <patchlevel.h>
|
||||||
# define PERL_REVISION 5
|
# define PERL_REVISION 5
|
||||||
@ -99,6 +97,14 @@
|
|||||||
# define PERL_SUBVERSION SUBVERSION
|
# define PERL_SUBVERSION SUBVERSION
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
// Work around for ActivePerl 5.20.3+: Avoid generating (g)vim.lib.
|
||||||
|
#if defined(ACTIVEPERL_VERSION) && (ACTIVEPERL_VERSION >= 2003) \
|
||||||
|
&& defined(WIN32) && defined(USE_DYNAMIC_LOADING)
|
||||||
|
# undef XS_EXTERNAL
|
||||||
|
# define XS_EXTERNAL(name) XSPROTO(name)
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Quoting Jan Dubois of Active State:
|
* Quoting Jan Dubois of Active State:
|
||||||
* ActivePerl build 822 still identifies itself as 5.8.8 but already
|
* ActivePerl build 822 still identifies itself as 5.8.8 but already
|
||||||
|
@ -794,6 +794,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 */
|
||||||
|
/**/
|
||||||
|
420,
|
||||||
/**/
|
/**/
|
||||||
419,
|
419,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user