diff options
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r-- | src/if_perl.xs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs index 009462721..650aeb2af 100644 --- 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 |