Karsten Hopp af3703
To: vim_dev@googlegroups.com
Karsten Hopp af3703
Subject: Patch 7.4.128
Karsten Hopp af3703
Fcc: outbox
Karsten Hopp af3703
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp af3703
Mime-Version: 1.0
Karsten Hopp af3703
Content-Type: text/plain; charset=UTF-8
Karsten Hopp af3703
Content-Transfer-Encoding: 8bit
Karsten Hopp af3703
------------
Karsten Hopp af3703
Karsten Hopp af3703
Patch 7.4.128
Karsten Hopp af3703
Problem:    Perl 5.18 for MSVC doesn't work.
Karsten Hopp af3703
Solution:   Add check in makefile and define __inline. (Ken Takata)
Karsten Hopp af3703
Files:	    src/Make_mvc.mak, src/if_perl.xs
Karsten Hopp af3703
Karsten Hopp af3703
Karsten Hopp af3703
*** ../vim-7.4.127/src/Make_mvc.mak	2013-11-09 02:32:15.000000000 +0100
Karsten Hopp af3703
--- src/Make_mvc.mak	2013-12-14 11:47:37.000000000 +0100
Karsten Hopp af3703
***************
Karsten Hopp af3703
*** 825,831 ****
Karsten Hopp af3703
--- 825,836 ----
Karsten Hopp af3703
  PERL_LIB = $(PERL_INCDIR)\perl.lib
Karsten Hopp af3703
  !else
Karsten Hopp af3703
  PERL_DLL = perl$(PERL_VER).dll
Karsten Hopp af3703
+ !if exist($(PERL_INCDIR)\perl$(PERL_VER).lib)
Karsten Hopp af3703
  PERL_LIB = $(PERL_INCDIR)\perl$(PERL_VER).lib
Karsten Hopp af3703
+ !else
Karsten Hopp af3703
+ # For ActivePerl 5.18 and later
Karsten Hopp af3703
+ PERL_LIB = $(PERL_INCDIR)\libperl$(PERL_VER).a
Karsten Hopp af3703
+ !endif
Karsten Hopp af3703
  !endif
Karsten Hopp af3703
  
Karsten Hopp af3703
  CFLAGS = $(CFLAGS) -DFEAT_PERL
Karsten Hopp af3703
*** ../vim-7.4.127/src/if_perl.xs	2013-12-14 11:46:04.000000000 +0100
Karsten Hopp af3703
--- src/if_perl.xs	2013-12-14 11:47:37.000000000 +0100
Karsten Hopp af3703
***************
Karsten Hopp af3703
*** 44,49 ****
Karsten Hopp af3703
--- 44,54 ----
Karsten Hopp af3703
  # define PERL_NO_INLINE_FUNCTIONS
Karsten Hopp af3703
  #endif
Karsten Hopp af3703
  
Karsten Hopp af3703
+ /* Work around for using MSVC and ActivePerl 5.18. */
Karsten Hopp af3703
+ #ifdef _MSC_VER
Karsten Hopp af3703
+ # define __inline__ __inline
Karsten Hopp af3703
+ #endif
Karsten Hopp af3703
+ 
Karsten Hopp af3703
  #include <EXTERN.h>
Karsten Hopp af3703
  #include <perl.h>
Karsten Hopp af3703
  #include <XSUB.h>
Karsten Hopp af3703
*** ../vim-7.4.127/src/version.c	2013-12-14 11:46:04.000000000 +0100
Karsten Hopp af3703
--- src/version.c	2013-12-14 11:48:51.000000000 +0100
Karsten Hopp af3703
***************
Karsten Hopp af3703
*** 740,741 ****
Karsten Hopp af3703
--- 740,743 ----
Karsten Hopp af3703
  {   /* Add new patch number below this line */
Karsten Hopp af3703
+ /**/
Karsten Hopp af3703
+     128,
Karsten Hopp af3703
  /**/
Karsten Hopp af3703
Karsten Hopp af3703
-- 
Karsten Hopp af3703
hundred-and-one symptoms of being an internet addict:
Karsten Hopp af3703
55. You ask your doctor to implant a gig in your brain.
Karsten Hopp af3703
Karsten Hopp af3703
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp af3703
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp af3703
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp af3703
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///