summaryrefslogtreecommitdiff
path: root/win32/config_sh.PL
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2008-09-15 08:22:14 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2008-09-15 08:22:14 +0000
commit73e6e416ba5c167dc94e3d9723be81ed2dff177b (patch)
tree7a49f26fea26b620ef86dad6f1408e0b90f14dfb /win32/config_sh.PL
parent18eb2ade7d6963228a999e9fcbef5366fbbe213a (diff)
downloadperl-73e6e416ba5c167dc94e3d9723be81ed2dff177b.tar.gz
Add probes for LOCALTIME_max and LOCALTIME_min (y2038 project)
p4raw-id: //depot/perl@34363
Diffstat (limited to 'win32/config_sh.PL')
-rw-r--r--win32/config_sh.PL3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/config_sh.PL b/win32/config_sh.PL
index 5bd9953a5b..98e158c3c7 100644
--- a/win32/config_sh.PL
+++ b/win32/config_sh.PL
@@ -138,10 +138,13 @@ if ($opt{cc} eq 'cl' and $opt{ccversion} =~ /^(\d+)/) {
my $ccversion = $1;
if ($ccversion == 14) {
$opt{sGMTIME_max} = 32535244799;
+ $opt{sLOCALTIME_max} = 32535244799;
}
elsif ($ccversion >= 15) {
$opt{sGMTIME_min} = -43200;
$opt{sGMTIME_max} = 32535291599;
+ $opt{sLOCALTIME_min} = -43200;
+ $opt{sLOCALTIME_max} = 32535291599;
}
}