From: Olaf Flebbe Date: Wed, 31 Jan 2001 23:15:34 +0000 (+0100) Subject: Watch out for cross compiling for EPOC (usually done on linux) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a367e47566f36e409505ac118bc0f72026717968;p=p5sagit%2Fp5-mst-13.2.git Watch out for cross compiling for EPOC (usually done on linux) Subject: [perl-5-6-1-trial2] patches for EPOC Message-ID: p4raw-id: //depot/perl@8650 --- diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL index 3e34b90..dd16515 100644 --- a/ext/Errno/Errno_pm.PL +++ b/ext/Errno/Errno_pm.PL @@ -83,6 +83,9 @@ sub get_files { } elsif ($^O eq 'vmesa') { # OS/390 C compiler doesn't generate #file or #line directives $file{'../../vmesa/errno.h'} = 1; + } elsif ($Config{archname} eq 'epoc') { + # Watch out for cross compiling for EPOC (usually done on linux) + $file{'/usr/local/epoc/include/libc/sys/errno.h'} = 1; } elsif ($^O eq 'linux') { # Some Linuxes have weird errno.hs which generate # no #file or #line directives