1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-03-09 06:24:24 +02:00

(TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.

This commit is contained in:
Jim Meyering
1997-03-14 03:28:09 +00:00
parent 898fd10ec0
commit effc683cfc

View File

@@ -75,8 +75,10 @@
#endif
#ifndef TIME_T_MIN
#define TIME_T_MIN (0 < (time_t) -1 ? (time_t) 0 \
: ~ (time_t) 0 << (sizeof (time_t) * CHAR_BIT - 1))
/* The outer cast to time_t works around a bug in Cray C 5.0.3.0. */
#define TIME_T_MIN ((time_t) \
(0 < (time_t) -1 ? (time_t) 0 \
: ~ (time_t) 0 << (sizeof (time_t) * CHAR_BIT - 1)))
#endif
#ifndef TIME_T_MAX
#define TIME_T_MAX (~ (time_t) 0 - TIME_T_MIN)