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
index 0094627..650aeb2 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