Skip to content

Commit 11a38e7

Browse files
committed
updated for version 7.4.120
Problem: Can't build with Perl 5.18 on Linux. (Lcd 47) Solution: Add #ifdef. (Ken Takata)
1 parent b7cc09a commit 11a38e7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/if_perl.xs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
/* Work around for perl-5.18.
2828
* Don't include "perl\lib\CORE\inline.h" for now,
2929
* include it after Perl_sv_free2 is defined. */
30-
#define PERL_NO_INLINE_FUNCTIONS
30+
#ifdef DYNAMIC_PERL
31+
# define PERL_NO_INLINE_FUNCTIONS
32+
#endif
3133

3234
/*
3335
* Prevent including winsock.h. perl.h tries to detect whether winsock.h is

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,8 @@ static char *(features[]) =
738738

739739
static int included_patches[] =
740740
{ /* Add new patch number below this line */
741+
/**/
742+
120,
741743
/**/
742744
119,
743745
/**/

0 commit comments

Comments
 (0)