diff options
author | David Mitchell <davem@iabyn.com> | 2009-07-06 22:16:57 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2009-07-06 22:17:45 +0100 |
commit | 75e3c8a32e5d9a53167aa1dbfdc9809cfea8cabf (patch) | |
tree | d15326408549e3f362f65cca5686975d55cabe52 /lib/ExtUtils/MM.pm | |
parent | 84d2fa142c064fe21af5121174d51b764b9d9c69 (diff) | |
download | perl-75e3c8a32e5d9a53167aa1dbfdc9809cfea8cabf.tar.gz |
upgrade to ExtUtils::MakeMaker 6.53_03
Diffstat (limited to 'lib/ExtUtils/MM.pm')
-rw-r--r-- | lib/ExtUtils/MM.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/ExtUtils/MM.pm b/lib/ExtUtils/MM.pm index 2f74088648..39e3b4d2ee 100644 --- a/lib/ExtUtils/MM.pm +++ b/lib/ExtUtils/MM.pm @@ -3,7 +3,7 @@ package ExtUtils::MM; use strict; use ExtUtils::MakeMaker::Config; -our $VERSION = '6.53_02'; +our $VERSION = '6.53_03'; require ExtUtils::Liblist; require ExtUtils::MakeMaker; @@ -44,8 +44,9 @@ away. sub _is_win95 { # miniperl might not have the Win32 functions available and we need # to run in miniperl. - return defined &Win32::IsWin95 ? Win32::IsWin95() - : ! defined $ENV{SYSTEMROOT}; + my $have_win32 = eval { require Win32 }; + return $have_win32 && defined &Win32::IsWin95 ? Win32::IsWin95() + : ! defined $ENV{SYSTEMROOT}; } my %Is = (); |