summaryrefslogtreecommitdiff
path: root/src/if_perl.xs
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-12-11 17:20:19 +0100
committerBram Moolenaar <Bram@vim.org>2013-12-11 17:20:19 +0100
commitfcf94d399015984742c4306c7e6676f07d7ed5fe (patch)
tree679c42b157d273d6aba5e492d4c371cea628c230 /src/if_perl.xs
parent4ffa07081f97db6b49d6d087ce46ff0b3a4c8a5c (diff)
downloadvim-git-fcf94d399015984742c4306c7e6676f07d7ed5fe.tar.gz
updated for version 7.4.120v7.4.120
Problem: Can't build with Perl 5.18 on Linux. (Lcd 47) Solution: Add #ifdef. (Ken Takata)
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r--src/if_perl.xs4
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