*** if_perl.xs  Fri Sep 14 09:31:10 2007
--- if_perl_patched.xs  Fri Sep 14 09:47:38 2007
***************
*** 50,63 ****
   *
   * Jan Dubois suggested the following guarding scheme:
   */
! #if (ACTIVEPERL_VERSION >= 822)
! # define PERL589_OR_LATER
  #endif
  #if (PERL_REVISION == 5) && (PERL_VERSION == 8) && (PERL_SUBVERSION >= 9)
! # define PERL589_OR_LATER
  #endif
  #if (PERL_REVISION == 5) && (PERL_VERSION >= 9)
! # define PERL589_OR_LATER
  #endif
  
  #ifndef pTHX
--- 50,72 ----
   *
   * Jan Dubois suggested the following guarding scheme:
   */
! /* 
!  * Active State defined ACTIVEPERL_VERSION as a string in older
!  * versions;  and so the comparison to 822 below needs to be guarded.
!  * Googling shows ACTIVEPERL_VERSION as a number in 5.8.7 build 813; 
!  * and we are only concerned with later buids of 5.8.8 -- so 
!  * the following guard should do the job.
!  */
! #if (PERL_REVISION == 5) && (PERL_VERSION == 8) && (PERL_SUBVERSION >= 8)
! #  if (ACTIVEPERL_VERSION >= 822)
! #    define PERL589_OR_LATER
! #  endif
  #endif
  #if (PERL_REVISION == 5) && (PERL_VERSION == 8) && (PERL_SUBVERSION >= 9)
! #  define PERL589_OR_LATER
  #endif
  #if (PERL_REVISION == 5) && (PERL_VERSION >= 9)
! #  define PERL589_OR_LATER
  #endif
  
  #ifndef pTHX


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui