Blame SOURCES/7.4.127

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.127
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.127
22c937
Problem:    Perl 5.18 on Unix doesn't work.
22c937
Solution:   Move workaround to after including vim.h. (Ken Takata)
22c937
Files:      src/if_perl.xs
22c937
22c937
22c937
*** ../vim-7.4.126/src/if_perl.xs	2013-12-11 17:20:14.000000000 +0100
22c937
--- src/if_perl.xs	2013-12-14 11:41:56.000000000 +0100
22c937
***************
22c937
*** 24,36 ****
22c937
  # define _USE_32BIT_TIME_T
22c937
  #endif
22c937
  
22c937
- /* Work around for perl-5.18.
22c937
-  * Don't include "perl\lib\CORE\inline.h" for now,
22c937
-  * include it after Perl_sv_free2 is defined. */
22c937
- #ifdef DYNAMIC_PERL
22c937
- # define PERL_NO_INLINE_FUNCTIONS
22c937
- #endif
22c937
- 
22c937
  /*
22c937
   * Prevent including winsock.h.  perl.h tries to detect whether winsock.h is
22c937
   * already included before including winsock2.h, because winsock2.h isn't
22c937
--- 24,29 ----
22c937
***************
22c937
*** 44,49 ****
22c937
--- 37,49 ----
22c937
  
22c937
  #include "vim.h"
22c937
  
22c937
+ /* Work around for perl-5.18.
22c937
+  * Don't include "perl\lib\CORE\inline.h" for now,
22c937
+  * include it after Perl_sv_free2 is defined. */
22c937
+ #ifdef DYNAMIC_PERL
22c937
+ # define PERL_NO_INLINE_FUNCTIONS
22c937
+ #endif
22c937
+ 
22c937
  #include <EXTERN.h>
22c937
  #include <perl.h>
22c937
  #include <XSUB.h>
22c937
*** ../vim-7.4.126/src/version.c	2013-12-12 20:25:39.000000000 +0100
22c937
--- src/version.c	2013-12-14 11:43:54.000000000 +0100
22c937
***************
22c937
*** 740,741 ****
22c937
--- 740,743 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     127,
22c937
  /**/
22c937
22c937
-- 
22c937
hundred-and-one symptoms of being an internet addict:
22c937
54. You start tilting your head sideways to smile. :-)
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    ///