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 | |
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')
-rw-r--r-- | win32/config.bc | 2 | ||||
-rw-r--r-- | win32/config_H.bc | 2 | ||||
-rw-r--r-- | win32/config_sh.PL | 5 |
3 files changed, 4 insertions, 5 deletions
diff --git a/win32/config.bc b/win32/config.bc index 9ad9c972c8..fafdf1ba0b 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -863,7 +863,7 @@ runnm='true' sGMTIME_max="2147483647" sGMTIME_min="-2147483648" sLOCALTIME_max="2147483647" -sLOCALTIME_min="-2147483648" +sLOCALTIME_min="0" sPRIEUldbl='"E"' sPRIFUldbl='"F"' sPRIGUldbl='"G"' diff --git a/win32/config_H.bc b/win32/config_H.bc index cf1119050c..5be7e41c15 100644 --- a/win32/config_H.bc +++ b/win32/config_H.bc @@ -4439,7 +4439,7 @@ * the system function localtime () accepts, and defaults to 0 */ #define LOCALTIME_MAX 2147483647 /**/ -#define LOCALTIME_MIN -2147483648 /**/ +#define LOCALTIME_MIN 0 /**/ /* USE_64_BIT_INT: * This symbol, if defined, indicates that 64-bit integers should 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; } } |