Karsten Hopp 2c2622
To: vim-dev@vim.org
Karsten Hopp 2c2622
Subject: patch 7.1.110
Karsten Hopp 2c2622
Fcc: outbox
Karsten Hopp 2c2622
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 2c2622
Mime-Version: 1.0
Karsten Hopp 2c2622
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 2c2622
Content-Transfer-Encoding: 8bit
Karsten Hopp 2c2622
------------
Karsten Hopp 2c2622
Karsten Hopp 2c2622
Patch 7.1.110 (after 7.1.102)
Karsten Hopp 2c2622
Problem:    Win32: Still compilation problems with Perl.
Karsten Hopp 2c2622
Solution:   Change the #ifdefs. (Suresh Govindachar)
Karsten Hopp 2c2622
Files:	    src/if_perl.xs
Karsten Hopp 2c2622
Karsten Hopp 2c2622
Karsten Hopp 2c2622
*** ../vim-7.1.109/src/if_perl.xs	Thu Sep 13 15:19:32 2007
Karsten Hopp 2c2622
--- src/if_perl.xs	Fri Sep 14 21:23:38 2007
Karsten Hopp 2c2622
***************
Karsten Hopp 2c2622
*** 48,60 ****
Karsten Hopp 2c2622
   * The changes include addition of two symbols (Perl_sv_2iv_flags,
Karsten Hopp 2c2622
   * Perl_newXS_flags) not present in earlier releases.
Karsten Hopp 2c2622
   *
Karsten Hopp 2c2622
!  * Jan Dubois suggested the following guarding scheme:
Karsten Hopp 2c2622
   */
Karsten Hopp 2c2622
! #if (ACTIVEPERL_VERSION >= 822)
Karsten Hopp 2c2622
! # define PERL589_OR_LATER
Karsten Hopp 2c2622
! #endif
Karsten Hopp 2c2622
! #if (PERL_REVISION == 5) && (PERL_VERSION == 8) && (PERL_SUBVERSION >= 9)
Karsten Hopp 2c2622
! # define PERL589_OR_LATER
Karsten Hopp 2c2622
  #endif
Karsten Hopp 2c2622
  #if (PERL_REVISION == 5) && (PERL_VERSION >= 9)
Karsten Hopp 2c2622
  # define PERL589_OR_LATER
Karsten Hopp 2c2622
--- 48,62 ----
Karsten Hopp 2c2622
   * The changes include addition of two symbols (Perl_sv_2iv_flags,
Karsten Hopp 2c2622
   * Perl_newXS_flags) not present in earlier releases.
Karsten Hopp 2c2622
   *
Karsten Hopp 2c2622
!  * Jan Dubois suggested the following guarding scheme.
Karsten Hopp 2c2622
!  *
Karsten Hopp 2c2622
!  * Active State defined ACTIVEPERL_VERSION as a string in versions before
Karsten Hopp 2c2622
!  * 5.8.8; and so the comparison to 822 below needs to be guarded.
Karsten Hopp 2c2622
   */
Karsten Hopp 2c2622
! #if (PERL_REVISION == 5) && (PERL_VERSION == 8) && (PERL_SUBVERSION >= 8)
Karsten Hopp 2c2622
! # if (ACTIVEPERL_VERSION >= 822) || (PERL_SUBVERSION >= 9)
Karsten Hopp 2c2622
! #  define PERL589_OR_LATER
Karsten Hopp 2c2622
! # endif
Karsten Hopp 2c2622
  #endif
Karsten Hopp 2c2622
  #if (PERL_REVISION == 5) && (PERL_VERSION >= 9)
Karsten Hopp 2c2622
  # define PERL589_OR_LATER
Karsten Hopp 2c2622
*** ../vim-7.1.109/src/version.c	Sat Sep 15 14:06:41 2007
Karsten Hopp 2c2622
--- src/version.c	Sat Sep 15 14:48:05 2007
Karsten Hopp 2c2622
***************
Karsten Hopp 2c2622
*** 668,669 ****
Karsten Hopp 2c2622
--- 668,671 ----
Karsten Hopp 2c2622
  {   /* Add new patch number below this line */
Karsten Hopp 2c2622
+ /**/
Karsten Hopp 2c2622
+     110,
Karsten Hopp 2c2622
  /**/
Karsten Hopp 2c2622
Karsten Hopp 2c2622
-- 
Karsten Hopp 2c2622
"It's so simple to be wise.  Just think of something stupid to say
Karsten Hopp 2c2622
and then don't say it."        -- Sam Levenson
Karsten Hopp 2c2622
Karsten Hopp 2c2622
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 2c2622
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 2c2622
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 2c2622
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///