[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl5-porters
Subject:    Re: Zaurus SL-[78]60 native compile patch
From:       Nicholas Clark <nick () ccl4 ! org>
Date:       2004-03-30 22:11:38
Message-ID: 20040330221137.GA701 () plum ! flirble ! org
[Download RAW message or body]

On Tue, Mar 30, 2004 at 12:53:52AM +0900, Dan Kogai wrote:

> --- ext/Errno/Errno_pm.PL.dist  Mon Aug  4 07:37:13 2003
> +++ ext/Errno/Errno_pm.PL       Mon Mar 29 15:31:35 2004
> @@ -109,7 +109,9 @@
>              ) {
>         # Some Linuxes have weird errno.hs which generate
>         # no #file or #line directives
> -       $file{'/usr/include/errno.h'} = 1;
> +       my $linux_errno_h = -e '/usr/include/errno.h' ?
> +       '/usr/include/errno.h' : '/usr/local/include/errno.h';
> +       $file{$linux_errno_h} = 1;
>      } elsif ($^O eq 'MacOS') {
>         # note that we are only getting the GUSI errno's here ...
>         # we might miss out on compiler-specific ones
> 


Thanks, applied.

Nicholas Clark
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic