summaryrefslogtreecommitdiff
path: root/sys/arch/vax/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/vax/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/vax/include')
-rw-r--r--sys/arch/vax/include/limits.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/vax/include/limits.h b/sys/arch/vax/include/limits.h
index 2566351b37c..6681ed56ffa 100644
--- a/sys/arch/vax/include/limits.h
+++ b/sys/arch/vax/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.6 2000/04/26 03:08:41 bjc Exp $ */
+/* $OpenBSD: limits.h,v 1.7 2000/07/31 20:06:03 millert Exp $ */
/* $NetBSD: limits.h,v 1.9 2000/03/07 19:33:01 kleink Exp $ */
/*
@@ -80,6 +80,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 */