summaryrefslogtreecommitdiff
path: root/ext/Errno
diff options
context:
space:
mode:
authorOlaf Flebbe <o.flebbe@science-computing.de>2001-02-01 00:15:34 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-02-01 03:56:20 +0000
commita367e47566f36e409505ac118bc0f72026717968 (patch)
tree0f751032d29ead102d7a618e62e1637f497fa3df /ext/Errno
parent9c7192ba427eba0a6c759f2cd2819b1ed1ed554b (diff)
downloadperl-a367e47566f36e409505ac118bc0f72026717968.tar.gz
Watch out for cross compiling for EPOC (usually done on linux)
Subject: [perl-5-6-1-trial2] patches for EPOC Message-ID: <Pine.LNX.4.02.10101312314470.5682-100000@milkyway.science-computing.de> p4raw-id: //depot/perl@8650
Diffstat (limited to 'ext/Errno')
-rw-r--r--ext/Errno/Errno_pm.PL3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
index 3e34b90bee..dd165157f6 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