mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-21 14:12:06 +00:00
Don't bother with uintmax_t in previous change.
See the thread starting with Clive D.W. Feather's comments in <http://mm.icann.org/pipermail/tz/2013-August/019496.html>. * localtime.c (truncate_time): Don't bother with uintmax_t, as using it doesn't help on any known platform. * private.h (UINTMAX_MAX): Remove.
This commit is contained in:
@ -186,15 +186,9 @@ typedef long intmax_t;
|
||||
# if defined ULLONG_MAX || defined __LONG_LONG_MAX__
|
||||
typedef unsigned long long uintmax_t;
|
||||
# define PRIuMAX "llu"
|
||||
# ifdef ULLONG_MAX
|
||||
# define UINTMAX_MAX ULLONG_MAX
|
||||
# else
|
||||
# define UINTMAX_MAX (__LONG_LONG_MAX__ * 2ULL + 1)
|
||||
# endif
|
||||
# else
|
||||
typedef unsigned long uintmax_t;
|
||||
# define PRIuMAX "lu"
|
||||
# define UINTMAX_MAX ULONG_MAX
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user