diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-07-31 20:06:05 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-07-31 20:06:05 +0000 |
commit | ed55c022eafcf15e5a510f0a946be4c6b3e71e5a (patch) | |
tree | d387140a598c85b999f3aa4b4bd98304d5479b27 /sys/arch/m68k | |
parent | 5484bfabe3fe4d9d8c102e440782da9f255f5ed4 (diff) |
Add defines for ULLONG_MAX, LLONG_MAX, and LLONG_MIN in terms of
UQUAD_MAX, QUAD_MAX, and QUAD_MIN respectively.
Diffstat (limited to 'sys/arch/m68k')
-rw-r--r-- | sys/arch/m68k/include/limits.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/m68k/include/limits.h b/sys/arch/m68k/include/limits.h index f509ff308bb..b4f7cdc6ad1 100644 --- a/sys/arch/m68k/include/limits.h +++ b/sys/arch/m68k/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.3 1998/03/22 21:15:14 millert Exp $ */ +/* $OpenBSD: limits.h,v 1.4 2000/07/31 20:06:02 millert Exp $ */ /* $NetBSD: limits.h,v 1.9 1994/10/26 07:50:48 cgd Exp $ */ /* @@ -70,6 +70,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 */ |