diff options
author | Craig A. Berry <craigberry@mac.com> | 2014-12-16 19:14:11 -0600 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2014-12-16 20:22:08 -0600 |
commit | 14c8eaf861cb4863a59c3d58f1b6d1d6f48def1c (patch) | |
tree | e44218c395da517bc0b9df4c0bc4faf99343206a /ext/Errno | |
parent | 3cf97631d086ff2ed3ada2789408f8d7901749dc (diff) | |
download | perl-14c8eaf861cb4863a59c3d58f1b6d1d6f48def1c.tar.gz |
Clean up VMS includes in ext/Errno/Errno_pm.PL.
There are currently (and for many years now) no viable alternatives
to the headers that come with the operating system, regardless of
compiler.
Diffstat (limited to 'ext/Errno')
-rw-r--r-- | ext/Errno/Errno_pm.PL | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL index 32b91b26fe..3dadfce9a3 100644 --- a/ext/Errno/Errno_pm.PL +++ b/ext/Errno/Errno_pm.PL @@ -2,7 +2,7 @@ use ExtUtils::MakeMaker; use Config; use strict; -our $VERSION = "1.21"; +our $VERSION = "1.22"; my %err = (); @@ -104,15 +104,9 @@ sub default_cpp { sub get_files { my %file = (); - # VMS keeps its include files in system libraries (well, except for Gcc) + # VMS keeps its include files in system libraries if ($^O eq 'VMS') { - if ($Config{vms_cc_type} eq 'decc') { - $file{'Sys$Library:DECC$RTLDEF.TLB'} = 1; - } elsif ($Config{vms_cc_type} eq 'vaxc') { - $file{'Sys$Library:vaxcdef.tlb'} = 1; - } elsif ($Config{vms_cc_type} eq 'gcc') { - $file{'gnu_cc_include:[000000]errno.h'} = 1; - } + $file{'Sys$Library:DECC$RTLDEF.TLB'} = 1; } elsif ($^O eq 'os390') { # OS/390 C compiler doesn't generate #file or #line directives $file{'/usr/include/errno.h'} = 1; |