diff options
Diffstat (limited to 'ext/Errno/Errno_pm.PL')
-rw-r--r-- | ext/Errno/Errno_pm.PL | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL index 56bc815002..7cd7a249d2 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.13"; +our $VERSION = "1.14"; my %err = (); my %wsa = (); @@ -184,13 +184,7 @@ sub get_files { die "Cannot exec $cpp"; } - my $pat; - if (($IsMSWin32 || $^O eq 'NetWare') and $Config{cc} =~ /^bcc/i) { - $pat = '^/\*\s+(.+)\s+\d+\s*:\s+\*/'; - } - else { - $pat = '^#\s*(?:line)?\s*\d+\s+"([^"]+)"'; - } + my $pat = '^#\s*(?:line)?\s*\d+\s+"([^"]+)"'; while(<CPPO>) { if ($^O eq 'os2' or $IsMSWin32 or $^O eq 'NetWare') { if (/$pat/o) { |