summaryrefslogtreecommitdiff
path: root/src/if_perl.xs
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-12-14 11:50:35 +0100
committerBram Moolenaar <Bram@vim.org>2013-12-14 11:50:35 +0100
commit207fd75cac7bc658da039f551620d51c422def44 (patch)
tree18da09a272b2cee45d0eba5882a30c802e0363f1 /src/if_perl.xs
parent7c0daf088e880e7cd4031c673876a2750323c79c (diff)
downloadvim-207fd75cac7bc658da039f551620d51c422def44.zip
updated for version 7.4.128
Problem: Perl 5.18 for MSVC doesn't work. Solution: Add check in makefile and define __inline. (Ken Takata)
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r--src/if_perl.xs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs
index 5a7514798..57a3b8fd1 100644
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -44,6 +44,11 @@
# define PERL_NO_INLINE_FUNCTIONS
#endif
+/* Work around for using MSVC and ActivePerl 5.18. */
+#ifdef _MSC_VER
+# define __inline__ __inline
+#endif
+
#include <EXTERN.h>
#include <perl.h>
#include <XSUB.h>