# HG changeset patch # User Bram Moolenaar # Date 1386778819 -3600 # Node ID ca0e43bbf8f9e409130d5d1ce29621edbcdff92a # Parent 574142165dc8e887b5f6f2ad2375b791fbcb493c updated for version 7.4.120 Problem: Can't build with Perl 5.18 on Linux. (Lcd 47) Solution: Add #ifdef. (Ken Takata) diff --git a/src/if_perl.xs b/src/if_perl.xs --- a/src/if_perl.xs +++ b/src/if_perl.xs @@ -27,7 +27,9 @@ /* Work around for perl-5.18. * Don't include "perl\lib\CORE\inline.h" for now, * include it after Perl_sv_free2 is defined. */ -#define PERL_NO_INLINE_FUNCTIONS +#ifdef DYNAMIC_PERL +# define PERL_NO_INLINE_FUNCTIONS +#endif /* * Prevent including winsock.h. perl.h tries to detect whether winsock.h is diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 120, +/**/ 119, /**/ 118,