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
run=''
runnm='true'
sGMTIME_max="2147483647"
-sGMTIME_min="-2147483648"
+sGMTIME_min="0"
sLOCALTIME_max="2147483647"
sLOCALTIME_min="0"
sPRIEUldbl='"E"'
* 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
# 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;
}