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