summaryrefslogtreecommitdiff
path: root/sys/arch/mips
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-03-22 21:15:28 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-03-22 21:15:28 +0000
commit0483b134133ba4d8bc055eade2a074de92f1dd2a (patch)
treee16bc9479ab07f499633ba122660e654234b506d /sys/arch/mips
parentdafe4a41135492005e4cd9412da405a1119fba0d (diff)
Add UID_MAX and GID_MAX
Diffstat (limited to 'sys/arch/mips')
-rw-r--r--sys/arch/mips/include/limits.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/mips/include/limits.h b/sys/arch/mips/include/limits.h
index 335de6f0b60..687b0277d09 100644
--- a/sys/arch/mips/include/limits.h
+++ b/sys/arch/mips/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.1 1998/01/28 11:14:45 pefo Exp $ */
+/* $OpenBSD: limits.h,v 1.2 1998/03/22 21:15:16 millert Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -80,6 +80,9 @@
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
+#define UID_MAX UINT_MAX /* max value for a uid_t */
+#define GID_MAX UINT_MAX /* max value for a gid_t */
+
/* GCC requires that quad constants be written as expressions. */
#define UQUAD_MAX ((u_quad_t)0-1) /* max value for a uquad_t */
/* max value for a quad_t */