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 /config_h.SH | |
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 'config_h.SH')
-rw-r--r-- | config_h.SH | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/config_h.SH b/config_h.SH index 7ee3c4f088..fb105b7b98 100644 --- a/config_h.SH +++ b/config_h.SH @@ -2762,6 +2762,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #define Sock_size_t $socksizetype /**/ +/* STDCHAR: + * This symbol is defined to be the type of char used in stdio.h. + * It has the values "unsigned char" or "char". + */ +#define STDCHAR $stdchar /**/ + /* Uid_t_f: * This symbol defines the format string used for printing a Uid_t. */ @@ -3270,12 +3276,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$ebcdic EBCDIC /**/ -/* STDCHAR: - * This symbol is defined to be the type of char used in stdio.h. - * It has the values "unsigned char" or "char". - */ -#define STDCHAR $stdchar /**/ - /* HAS_ATOLF: * This symbol, if defined, indicates that the atolf routine is * available to convert strings into long doubles. @@ -4460,8 +4460,18 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un * This symbol contains the minimum value for the time_t offset that * the system function gmtime () accepts, and defaults to 0 */ -#define GMTIME_MAX $sGMTIME_max /**/ -#define GMTIME_MIN $sGMTIME_min /**/ +/* 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 GMTIME_MAX $sGMTIME_max /**/ +#define GMTIME_MIN $sGMTIME_min /**/ +#define LOCALTIME_MAX $sLOCALTIME_max /**/ +#define LOCALTIME_MIN $sLOCALTIME_min /**/ /* USE_64_BIT_INT: * This symbol, if defined, indicates that 64-bit integers should |