diff options
author | Steve Hay <SteveHay@planit.com> | 2008-09-30 16:31:09 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2008-09-30 16:31:09 +0000 |
commit | 049aaf37de4ebebcfcfe544e014d51c23d56fd89 (patch) | |
tree | c49c0021d8c4c6798fb86b7e976f71ebca3b9791 /win32/config_sh.PL | |
parent | d1ef72e8d5ca14e2484958daf12a72d6ccd2187f (diff) | |
download | perl-049aaf37de4ebebcfcfe544e014d51c23d56fd89.tar.gz |
Correct the sLOCALTIME_{min|max} values added by #34363 for BCC and VC9
(Manually checking with the Configure test programs shows that the
values differ fromt he sGMTIME_{min|max} values for these compilers)
p4raw-id: //depot/perl@34449
Diffstat (limited to 'win32/config_sh.PL')
-rw-r--r-- | win32/config_sh.PL | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/win32/config_sh.PL b/win32/config_sh.PL index 98e158c3c7..a30dfcf892 100644 --- a/win32/config_sh.PL +++ b/win32/config_sh.PL @@ -131,7 +131,7 @@ 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+)/) { @@ -143,8 +143,7 @@ if ($opt{cc} eq 'cl' and $opt{ccversion} =~ /^(\d+)/) { elsif ($ccversion >= 15) { $opt{sGMTIME_min} = -43200; $opt{sGMTIME_max} = 32535291599; - $opt{sLOCALTIME_min} = -43200; - $opt{sLOCALTIME_max} = 32535291599; + $opt{sLOCALTIME_max} = 32535244799; } } |