summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-08-23 16:12:41 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-08-23 16:12:41 +0000
commit343a3311d01ef700263c5fb06ec8d7a1e597b9d9 (patch)
tree80e4e62ba874a8800f88f1fefbf6bf8283a3457c
parentaf9540f657c6dce187495163f49627c405eeb6f0 (diff)
UID_MAX and GID_MAX
-rw-r--r--sys/arch/sparc64/include/limits.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/limits.h b/sys/arch/sparc64/include/limits.h
index e71f20a4378..36feb097a3f 100644
--- a/sys/arch/sparc64/include/limits.h
+++ b/sys/arch/sparc64/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.1 2001/08/18 04:16:37 jason Exp $ */
+/* $OpenBSD: limits.h,v 1.2 2001/08/23 16:12:40 art Exp $ */
/* $NetBSD: limits.h,v 1.8 2000/08/08 22:31:14 tshiozak Exp $ */
/*
@@ -79,6 +79,8 @@
#if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE) || \
defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L
+#define UID_MAX UINT_MAX /* max value for uid_t */
+#define GID_MAX UINT_MAX /* max value for gid_t */
#define ULLONG_MAX 0xffffffffffffffffULL /* max unsigned long long */
#define LLONG_MAX 0x7fffffffffffffffLL /* max signed long long */
#define LLONG_MIN (-0x7fffffffffffffffLL-1) /* min signed long long */