diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-08-15 19:25:08 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-08-15 19:25:08 +0000 |
commit | a6314641a45ac9fda3cd367b55c831cf0e71daed (patch) | |
tree | b57dfae18acfd63039ba55d9c4595093bbcd2e64 /sys/sparc64/include/_limits.h | |
parent | a4eb6654481acdfc34ee685d6fb3d31c14773e36 (diff) |
Add OFF_T_MAX/OFF_T_MIN
Notes
Notes:
svn path=/head/; revision=81720
Diffstat (limited to 'sys/sparc64/include/_limits.h')
-rw-r--r-- | sys/sparc64/include/_limits.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sparc64/include/_limits.h b/sys/sparc64/include/_limits.h index 4196887b2ecb..3f53b25384bc 100644 --- a/sys/sparc64/include/_limits.h +++ b/sys/sparc64/include/_limits.h @@ -74,6 +74,9 @@ #if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) #define SIZE_T_MAX ULONG_MAX /* max value for a size_t */ +#define OFF_T_MAX LONG_MAX /* max value for a off_t */ +#define OFF_T_MIN LONG_MIN /* min value for a off_t */ + /* Quads and longs are the same on the alpha. Ensure they stay in sync. */ #define UQUAD_MAX (ULONG_MAX) /* max value for a uquad_t */ #define QUAD_MAX (LONG_MAX) /* max value for a quad_t */ |