3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.127
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.127
3ef2ca
Problem:    Perl 5.18 on Unix doesn't work.
3ef2ca
Solution:   Move workaround to after including vim.h. (Ken Takata)
3ef2ca
Files:      src/if_perl.xs
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.126/src/if_perl.xs	2013-12-11 17:20:14.000000000 +0100
3ef2ca
--- src/if_perl.xs	2013-12-14 11:41:56.000000000 +0100
3ef2ca
***************
3ef2ca
*** 24,36 ****
3ef2ca
  # define _USE_32BIT_TIME_T
3ef2ca
  #endif
3ef2ca
  
3ef2ca
- /* Work around for perl-5.18.
3ef2ca
-  * Don't include "perl\lib\CORE\inline.h" for now,
3ef2ca
-  * include it after Perl_sv_free2 is defined. */
3ef2ca
- #ifdef DYNAMIC_PERL
3ef2ca
- # define PERL_NO_INLINE_FUNCTIONS
3ef2ca
- #endif
3ef2ca
- 
3ef2ca
  /*
3ef2ca
   * Prevent including winsock.h.  perl.h tries to detect whether winsock.h is
3ef2ca
   * already included before including winsock2.h, because winsock2.h isn't
3ef2ca
--- 24,29 ----
3ef2ca
***************
3ef2ca
*** 44,49 ****
3ef2ca
--- 37,49 ----
3ef2ca
  
3ef2ca
  #include "vim.h"
3ef2ca
  
3ef2ca
+ /* Work around for perl-5.18.
3ef2ca
+  * Don't include "perl\lib\CORE\inline.h" for now,
3ef2ca
+  * include it after Perl_sv_free2 is defined. */
3ef2ca
+ #ifdef DYNAMIC_PERL
3ef2ca
+ # define PERL_NO_INLINE_FUNCTIONS
3ef2ca
+ #endif
3ef2ca
+ 
3ef2ca
  #include <EXTERN.h>
3ef2ca
  #include <perl.h>
3ef2ca
  #include <XSUB.h>
3ef2ca
*** ../vim-7.4.126/src/version.c	2013-12-12 20:25:39.000000000 +0100
3ef2ca
--- src/version.c	2013-12-14 11:43:54.000000000 +0100
3ef2ca
***************
3ef2ca
*** 740,741 ****
3ef2ca
--- 740,743 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     127,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
hundred-and-one symptoms of being an internet addict:
3ef2ca
54. You start tilting your head sideways to smile. :-)
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///