From ed55c022eafcf15e5a510f0a946be4c6b3e71e5a Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 31 Jul 2000 20:06:05 +0000 Subject: Add defines for ULLONG_MAX, LLONG_MAX, and LLONG_MIN in terms of UQUAD_MAX, QUAD_MAX, and QUAD_MIN respectively. --- sys/arch/i386/include/limits.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/arch/i386/include') diff --git a/sys/arch/i386/include/limits.h b/sys/arch/i386/include/limits.h index 9e2a68baa82..66185b21c17 100644 --- a/sys/arch/i386/include/limits.h +++ b/sys/arch/i386/include/limits.h @@ -72,6 +72,9 @@ #define UQUAD_MAX 0xffffffffffffffffULL /* max unsigned quad */ #define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */ #define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */ +#define ULLONG_MAX (UQUAD_MAX) /* max value for unsigned long long */ +#define LLONG_MAX (QUAD_MAX) /* max value for a signed long long */ +#define LLONG_MIN (QUAD_MIN) /* min value for a signed long long */ #endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */ #endif /* !_ANSI_SOURCE */ -- cgit v1.2.3