summaryrefslogtreecommitdiff
path: root/sys/arch/wgrisc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/wgrisc')
-rw-r--r--sys/arch/wgrisc/include/limits.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/wgrisc/include/limits.h b/sys/arch/wgrisc/include/limits.h
index 3fef3a42593..b4ef30f8352 100644
--- a/sys/arch/wgrisc/include/limits.h
+++ b/sys/arch/wgrisc/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.3 1998/03/22 21:15:27 millert Exp $ */
+/* $OpenBSD: limits.h,v 1.4 2000/07/31 20:06:04 millert Exp $ */
/* $NetBSD: limits.h,v 1.8 1995/03/28 18:19:16 jtc Exp $ */
/*
@@ -89,6 +89,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 */