]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.128 v7.4.128
authorBram Moolenaar <Bram@vim.org>
Sat, 14 Dec 2013 10:50:35 +0000 (11:50 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 14 Dec 2013 10:50:35 +0000 (11:50 +0100)
Problem:    Perl 5.18 for MSVC doesn't work.
Solution:   Add check in makefile and define __inline. (Ken Takata)

src/Make_mvc.mak
src/if_perl.xs
src/version.c

index 5a07cd095d0d89e9c5b7f98c6f4871a494642741..6718e141a378624d1d96ed2fbf04f876c38a47c5 100644 (file)
@@ -825,7 +825,12 @@ PERL_INCDIR = $(PERL)\Lib$(PERL_ARCH)\Core
 PERL_LIB = $(PERL_INCDIR)\perl.lib
 !else
 PERL_DLL = perl$(PERL_VER).dll
+!if exist($(PERL_INCDIR)\perl$(PERL_VER).lib)
 PERL_LIB = $(PERL_INCDIR)\perl$(PERL_VER).lib
+!else
+# For ActivePerl 5.18 and later
+PERL_LIB = $(PERL_INCDIR)\libperl$(PERL_VER).a
+!endif
 !endif
 
 CFLAGS = $(CFLAGS) -DFEAT_PERL
index 5a7514798b399484c2cbb669a412df00b973ccf2..57a3b8fd14742700ea82207064994423abc6ded2 100644 (file)
 # 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>
index 936a79acf6cceab2baf5f3c0bfcd580b25508e16..82ccc55d4982045b6b08ef326ad603313c2a800a 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    128,
 /**/
     127,
 /**/