diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2008-09-15 08:22:14 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2008-09-15 08:22:14 +0000 |
commit | 73e6e416ba5c167dc94e3d9723be81ed2dff177b (patch) | |
tree | 7a49f26fea26b620ef86dad6f1408e0b90f14dfb /win32 | |
parent | 18eb2ade7d6963228a999e9fcbef5366fbbe213a (diff) | |
download | perl-73e6e416ba5c167dc94e3d9723be81ed2dff177b.tar.gz |
Add probes for LOCALTIME_max and LOCALTIME_min (y2038 project)
p4raw-id: //depot/perl@34363
Diffstat (limited to 'win32')
-rw-r--r-- | win32/config.bc | 2 | ||||
-rw-r--r-- | win32/config.gc | 2 | ||||
-rw-r--r-- | win32/config.vc | 2 | ||||
-rw-r--r-- | win32/config.vc64 | 2 | ||||
-rw-r--r-- | win32/config_H.bc | 11 | ||||
-rw-r--r-- | win32/config_H.gc | 11 | ||||
-rw-r--r-- | win32/config_H.vc | 11 | ||||
-rw-r--r-- | win32/config_H.vc64 | 11 | ||||
-rw-r--r-- | win32/config_sh.PL | 3 |
9 files changed, 55 insertions, 0 deletions
diff --git a/win32/config.bc b/win32/config.bc index c857637ba7..9ad9c972c8 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -862,6 +862,8 @@ run='' runnm='true' sGMTIME_max="2147483647" sGMTIME_min="-2147483648" +sLOCALTIME_max="2147483647" +sLOCALTIME_min="-2147483648" sPRIEUldbl='"E"' sPRIFUldbl='"F"' sPRIGUldbl='"G"' diff --git a/win32/config.gc b/win32/config.gc index 9cb80b296f..5c269dcbad 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -862,6 +862,8 @@ run='' runnm='true' sGMTIME_max="2147483647" sGMTIME_min="0" +sLOCALTIME_max="2147483647" +sLOCALTIME_min="0" sPRIEUldbl='"E"' sPRIFUldbl='"F"' sPRIGUldbl='"G"' diff --git a/win32/config.vc b/win32/config.vc index f91b5b8612..3d2ec7e39f 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -862,6 +862,8 @@ run='' runnm='true' sGMTIME_max="2147483647" sGMTIME_min="0" +sLOCALTIME_max="2147483647" +sLOCALTIME_min="0" sPRIEUldbl='"E"' sPRIFUldbl='"F"' sPRIGUldbl='"G"' diff --git a/win32/config.vc64 b/win32/config.vc64 index 0834ced4e9..05140d6755 100644 --- a/win32/config.vc64 +++ b/win32/config.vc64 @@ -862,6 +862,8 @@ run='' runnm='true' sGMTIME_max="2147483647" sGMTIME_min="0" +sLOCALTIME_max="2147483647" +sLOCALTIME_min="0" sPRIEUldbl='"E"' sPRIFUldbl='"F"' sPRIGUldbl='"G"' diff --git a/win32/config_H.bc b/win32/config_H.bc index b32f385d51..cf1119050c 100644 --- a/win32/config_H.bc +++ b/win32/config_H.bc @@ -4430,6 +4430,17 @@ #define GMTIME_MAX 2147483647 /**/ #define GMTIME_MIN -2147483648 /**/ +/* LOCALTIME_MAX: + * This symbol contains the maximum value for the time_t offset that + * the system function localtime () accepts, and defaults to 0 + */ +/* LOCALTIME_MIN: + * This symbol contains the minimum value for the time_t offset that + * the system function localtime () accepts, and defaults to 0 + */ +#define LOCALTIME_MAX 2147483647 /**/ +#define LOCALTIME_MIN -2147483648 /**/ + /* USE_64_BIT_INT: * This symbol, if defined, indicates that 64-bit integers should * be used when available. If not defined, the native integers diff --git a/win32/config_H.gc b/win32/config_H.gc index 176f136cd5..df197cb469 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -4456,6 +4456,17 @@ #define GMTIME_MAX 2147483647 /**/ #define GMTIME_MIN 0 /**/ +/* LOCALTIME_MAX: + * This symbol contains the maximum value for the time_t offset that + * the system function localtime () accepts, and defaults to 0 + */ +/* LOCALTIME_MIN: + * This symbol contains the minimum value for the time_t offset that + * the system function localtime () accepts, and defaults to 0 + */ +#define LOCALTIME_MAX 2147483647 /**/ +#define LOCALTIME_MIN 0 /**/ + /* USE_64_BIT_INT: * This symbol, if defined, indicates that 64-bit integers should * be used when available. If not defined, the native integers diff --git a/win32/config_H.vc b/win32/config_H.vc index b2ecc3068d..53ef9e66fc 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -4452,6 +4452,17 @@ #define GMTIME_MAX 2147483647 /**/ #define GMTIME_MIN 0 /**/ +/* LOCALTIME_MAX: + * This symbol contains the maximum value for the time_t offset that + * the system function localtime () accepts, and defaults to 0 + */ +/* LOCALTIME_MIN: + * This symbol contains the minimum value for the time_t offset that + * the system function localtime () accepts, and defaults to 0 + */ +#define LOCALTIME_MAX 2147483647 /**/ +#define LOCALTIME_MIN 0 /**/ + /* USE_64_BIT_INT: * This symbol, if defined, indicates that 64-bit integers should * be used when available. If not defined, the native integers diff --git a/win32/config_H.vc64 b/win32/config_H.vc64 index 10e40dea52..699efc2aa6 100644 --- a/win32/config_H.vc64 +++ b/win32/config_H.vc64 @@ -4430,6 +4430,17 @@ #define GMTIME_MAX 2147483647 /**/ #define GMTIME_MIN 0 /**/ +/* LOCALTIME_MAX: + * This symbol contains the maximum value for the time_t offset that + * the system function localtime () accepts, and defaults to 0 + */ +/* LOCALTIME_MIN: + * This symbol contains the minimum value for the time_t offset that + * the system function localtime () accepts, and defaults to 0 + */ +#define LOCALTIME_MAX 2147483647 /**/ +#define LOCALTIME_MIN 0 /**/ + /* USE_64_BIT_INT: * This symbol, if defined, indicates that 64-bit integers should * be used when available. If not defined, the native integers 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; } } |