diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-03-22 21:15:28 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-03-22 21:15:28 +0000 |
commit | 0483b134133ba4d8bc055eade2a074de92f1dd2a (patch) | |
tree | e16bc9479ab07f499633ba122660e654234b506d /sys/arch/alpha/include | |
parent | dafe4a41135492005e4cd9412da405a1119fba0d (diff) |
Add UID_MAX and GID_MAX
Diffstat (limited to 'sys/arch/alpha/include')
-rw-r--r-- | sys/arch/alpha/include/limits.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/alpha/include/limits.h b/sys/arch/alpha/include/limits.h index 56517ae1985..e209ad8bc0a 100644 --- a/sys/arch/alpha/include/limits.h +++ b/sys/arch/alpha/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.5 1997/07/24 14:48:44 deraadt Exp $ */ +/* $OpenBSD: limits.h,v 1.6 1998/03/22 21:15:07 millert Exp $ */ /* $NetBSD: limits.h,v 1.2 1996/04/12 01:38:25 cgd Exp $ */ /* @@ -77,6 +77,9 @@ #if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) #define SIZE_T_MAX ULONG_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 */ + /* Quads and longs are the same on the alpha */ #define UQUAD_MAX (ULONG_MAX) /* max value for a uquad_t */ #define QUAD_MAX (LONG_MAX) /* max value for a quad_t */ |