X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=win32%2Fconfig_sh.PL;h=2cdd155eb4d4c4d75f4048223ee7134b5f6ba09e;hb=3e2a970dfeb55332005c7648ee670aa10bb9b414;hp=5bd9953a5bfd3e27c974090acff895c187e06d3b;hpb=4b7e285e7ac0f212412ed301bb6824593baf29e9;p=p5sagit%2Fp5-mst-13.2.git diff --git a/win32/config_sh.PL b/win32/config_sh.PL index 5bd9953..2cdd155 100644 --- a/win32/config_sh.PL +++ b/win32/config_sh.PL @@ -131,17 +131,14 @@ if ($opt{uselargefiles} eq 'define' and $opt{cc} ne 'bcc32') { } } -# change the sGMTIME_min and sGMTIME_max for VS2005 (aka VC 8) and +# change the s{GM|LOCAL}TIME_{min|max} for VS2005 (aka VC 8) and # VS2008 (aka VC 9) or higher (presuming that later versions will have # at least the range of that). if ($opt{cc} eq 'cl' and $opt{ccversion} =~ /^(\d+)/) { my $ccversion = $1; - if ($ccversion == 14) { - $opt{sGMTIME_max} = 32535244799; - } - elsif ($ccversion >= 15) { - $opt{sGMTIME_min} = -43200; + if ($ccversion >= 14) { $opt{sGMTIME_max} = 32535291599; + $opt{sLOCALTIME_max} = 32535244799; } }