073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.321
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.321
073263
Problem:    Can't build with strawberry perl 5.20 + mingw-w64-4.9.0.
073263
Solution:   Define save_strlen. (Ken Takata)
073263
Files:	    src/if_perl.xs
073263
073263
073263
*** ../vim-7.4.320/src/if_perl.xs	2014-03-12 17:08:01.508807656 +0100
073263
--- src/if_perl.xs	2014-06-12 16:02:25.584044368 +0200
073263
***************
073263
*** 191,196 ****
073263
--- 191,199 ----
073263
  # define Perl_pop_scope dll_Perl_pop_scope
073263
  # define Perl_push_scope dll_Perl_push_scope
073263
  # define Perl_save_int dll_Perl_save_int
073263
+ # if (PERL_REVISION == 5) && (PERL_VERSION >= 20)
073263
+ #  define Perl_save_strlen dll_Perl_save_strlen
073263
+ # endif
073263
  # define Perl_stack_grow dll_Perl_stack_grow
073263
  # define Perl_set_context dll_Perl_set_context
073263
  # if (PERL_REVISION == 5) && (PERL_VERSION >= 14)
073263
***************
073263
*** 311,316 ****
073263
--- 314,322 ----
073263
  static void (*Perl_pop_scope)(pTHX);
073263
  static void (*Perl_push_scope)(pTHX);
073263
  static void (*Perl_save_int)(pTHX_ int*);
073263
+ #if (PERL_REVISION == 5) && (PERL_VERSION >= 20)
073263
+ static void (*Perl_save_strlen)(pTHX_ STRLEN* ptr);
073263
+ #endif
073263
  static SV** (*Perl_stack_grow)(pTHX_ SV**, SV**p, int);
073263
  static SV** (*Perl_set_context)(void*);
073263
  #if (PERL_REVISION == 5) && (PERL_VERSION >= 14)
073263
***************
073263
*** 440,445 ****
073263
--- 446,454 ----
073263
      {"Perl_pop_scope", (PERL_PROC*)&Perl_pop_scope},
073263
      {"Perl_push_scope", (PERL_PROC*)&Perl_push_scope},
073263
      {"Perl_save_int", (PERL_PROC*)&Perl_save_int},
073263
+ #if (PERL_REVISION == 5) && (PERL_VERSION >= 20)
073263
+     {"Perl_save_strlen", (PERL_PROC*)&Perl_save_strlen},
073263
+ #endif
073263
      {"Perl_stack_grow", (PERL_PROC*)&Perl_stack_grow},
073263
      {"Perl_set_context", (PERL_PROC*)&Perl_set_context},
073263
  #if (PERL_REVISION == 5) && (PERL_VERSION >= 14)
073263
*** ../vim-7.4.320/src/version.c	2014-06-12 14:01:27.583769788 +0200
073263
--- src/version.c	2014-06-12 16:02:37.156044806 +0200
073263
***************
073263
*** 736,737 ****
073263
--- 736,739 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     321,
073263
  /**/
073263
073263
-- 
073263
Microsoft's definition of a boolean: TRUE, FALSE, MAYBE
073263
"Embrace and extend"...?
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///