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/sparc/include/limits.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/arch/sparc/include/limits.h') diff --git a/sys/arch/sparc/include/limits.h b/sys/arch/sparc/include/limits.h index d96529d5a0c..a8aa46777e0 100644 --- a/sys/arch/sparc/include/limits.h +++ b/sys/arch/sparc/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.5 1998/03/22 21:15:24 millert Exp $ */ +/* $OpenBSD: limits.h,v 1.6 2000/07/31 20:06:03 millert Exp $ */ /* $NetBSD: limits.h,v 1.7 1996/01/05 18:10:57 pk Exp $ */ /* @@ -72,6 +72,9 @@ /* max value for a quad_t */ #define QUAD_MAX ((quad_t)(UQUAD_MAX >> 1)) #define QUAD_MIN (-QUAD_MAX-1) /* min value for a quad_t */ +#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