summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2008-09-15 08:22:14 +0000
committerDavid Mitchell <davem@iabyn.com>2009-01-02 20:22:20 +0000
commited5cc6be3134bfc801db423b0fcfbc0f9760510e (patch)
treed37f11042af47db9174bc32e8f3476b146e163d9 /config_h.SH
parent78cab4ca98b0691f9dbae275d9744272c0bd4de5 (diff)
downloadperl-ed5cc6be3134bfc801db423b0fcfbc0f9760510e.tar.gz
Add probes for LOCALTIME_max and LOCALTIME_min (y2038 project)
p4raw-id: //depot/perl@34363 (cherry picked from commit 73e6e416ba5c167dc94e3d9723be81ed2dff177b)
Diffstat (limited to 'config_h.SH')
-rw-r--r--config_h.SH26
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