Suresh Govindachar wrote:
> 
> 
> Patch for if_perl.xs attached below.
> 
> --Suresh
> 
> 
>   *** vim7\src\if_perl.xs     Tue Sep 04 17:12:39 2007
>   --- patched\if_perl.xs      Tue Sep 04 16:28:12 2007
>   ***************
>   *** 40,45 ****
>   --- 40,67 ----
>     #    define PERL_SUBVERSION SUBVERSION
>     #endif
>     
>   + /* 
>   +  * Quoting Jan Dubois of Active State: 
>   +  *
>   +  *    ActivePerl build 822 still identifies itself as 5.8.8 but already
>   +  *    contains many of the changes from the upcoming Perl 5.8.9 release.
>   +  *    
>   +  * The changes include addition of two symbols (Perl_sv_2iv_flags, 
>   +  * Perl_newXS_flags) introduced in not present in earlier releases.
>   +  *
>   +  * 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 >= 10)

---------------------------------------------------^
shouldn't this be (PERL_VERSION >= 9)? Otherwise Perl 5.9.x won't be regarded 
as "5.8.9 or later"

>   + #  define PERL589_OR_LATER
>   + #endif
>   + 
[...]


Best regards,
Tony.
-- 
Death is God's way of telling you not to be such a wise guy.

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

Raspunde prin e-mail lui