summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2008-10-07 08:28:05 +0000
committerSteve Hay <SteveHay@planit.com>2008-10-07 08:28:05 +0000
commit92e71c9183a0db74aa4ef4999dac86e2ffadfac4 (patch)
tree6c24b6231df0d3f097a11cc3c16f2fc01c560828 /win32
parent8c9af2bf5bfe333bb8aac04b0c35c2e1c9b91900 (diff)
downloadperl-92e71c9183a0db74aa4ef4999dac86e2ffadfac4.tar.gz
Refine Win32's s{GM|LOCAL}TIME_{min|max} values based on the output of
Schwern's latest check_max.c program. See: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2008-10/msg00049.html http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2008-10/msg00137.html p4raw-id: //depot/perl@34469
Diffstat (limited to 'win32')
-rw-r--r--win32/config.bc2
-rw-r--r--win32/config_H.bc2
-rw-r--r--win32/config_sh.PL7
3 files changed, 3 insertions, 8 deletions
diff --git a/win32/config.bc b/win32/config.bc
index a888daab81..4e7cd119ff 100644
--- a/win32/config.bc
+++ b/win32/config.bc
@@ -867,7 +867,7 @@ rmail=''
run=''
runnm='true'
sGMTIME_max="2147483647"
-sGMTIME_min="-2147483648"
+sGMTIME_min="0"
sLOCALTIME_max="2147483647"
sLOCALTIME_min="0"
sPRIEUldbl='"E"'
diff --git a/win32/config_H.bc b/win32/config_H.bc
index 5be7e41c15..9e15ff3b97 100644
--- a/win32/config_H.bc
+++ b/win32/config_H.bc
@@ -4428,7 +4428,7 @@
* the system function gmtime () accepts, and defaults to 0
*/
#define GMTIME_MAX 2147483647 /**/
-#define GMTIME_MIN -2147483648 /**/
+#define GMTIME_MIN 0 /**/
/* LOCALTIME_MAX:
* This symbol contains the maximum value for the time_t offset that
diff --git a/win32/config_sh.PL b/win32/config_sh.PL
index a30dfcf892..2cdd155eb4 100644
--- a/win32/config_sh.PL
+++ b/win32/config_sh.PL
@@ -136,12 +136,7 @@ if ($opt{uselargefiles} eq 'define' and $opt{cc} ne 'bcc32') {
# 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;
- $opt{sLOCALTIME_max} = 32535244799;
- }
- elsif ($ccversion >= 15) {
- $opt{sGMTIME_min} = -43200;
+ if ($ccversion >= 14) {
$opt{sGMTIME_max} = 32535291599;
$opt{sLOCALTIME_max} = 32535244799;
}