summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-07-31 20:06:05 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-07-31 20:06:05 +0000
commited55c022eafcf15e5a510f0a946be4c6b3e71e5a (patch)
treed387140a598c85b999f3aa4b4bd98304d5479b27 /sys/arch/alpha/include
parent5484bfabe3fe4d9d8c102e440782da9f255f5ed4 (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/alpha/include')
-rw-r--r--sys/arch/alpha/include/limits.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/alpha/include/limits.h b/sys/arch/alpha/include/limits.h
index e209ad8bc0a..3ae9bae45cc 100644
--- a/sys/arch/alpha/include/limits.h
+++ b/sys/arch/alpha/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.6 1998/03/22 21:15:07 millert Exp $ */
+/* $OpenBSD: limits.h,v 1.7 2000/07/31 20:06:01 millert Exp $ */
/* $NetBSD: limits.h,v 1.2 1996/04/12 01:38:25 cgd Exp $ */
/*
@@ -84,6 +84,9 @@
#define UQUAD_MAX (ULONG_MAX) /* max value for a uquad_t */
#define QUAD_MAX (LONG_MAX) /* max value for a quad_t */
#define QUAD_MIN (LONG_MIN) /* min value for a quad_t */
+#define ULLONG_MAX (ULONG_MAX) /* max value for unsigned long long */
+#define LLONG_MAX (LONG_MAX) /* max value for a long long */
+#define LLONG_MIN (LONG_MIN) /* min value for a long long */
#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
#endif /* !_ANSI_SOURCE */