From cf90f796e31b55fcf578ea4dd42c63d00d703616 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sat, 10 Sep 2016 18:32:56 -0400 Subject: Bug 1260020 - Use Win32::GetConsoleOutputCP() instead of Win32::Console::OutputCP() --- Makefile.PL | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile.PL') diff --git a/Makefile.PL b/Makefile.PL index 3af1d58e5..cbe3c8a46 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -87,8 +87,11 @@ my %all_features = ( # Windows requires some additional modules. if ( $^O eq 'MSWin32' ) { - $requires{'Win32'} = '0.35'; - $requires{'Win32::API'} = '0.55'; + # 0.45 implements the GetConsoleOutputCP() method. + # It also supports Windows 7. Set this to 0.52 to support Windows 10. + $requires{'Win32'} = '0.45'; + # 0.63 fixes a problem with Strawberry Perl 5.14.1. + $requires{'Win32::API'} = '0.63'; $requires{'DateTime::TimeZone::Local::Win32'} = '1.64'; } -- cgit v1.2.3-24-g4f1b