diff options
author | ache <ache@FreeBSD.org> | 2001-08-15 19:25:08 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-08-15 19:25:08 +0000 |
commit | 77b2a90ced0b918e701e4370692d21d9a73564fd (patch) | |
tree | b57dfae18acfd63039ba55d9c4595093bbcd2e64 /sys/sparc64/include/_limits.h | |
parent | bdcb660d116f9893bd16f6c717da9d6de315b2f9 (diff) | |
download | FreeBSD-src-77b2a90ced0b918e701e4370692d21d9a73564fd.zip FreeBSD-src-77b2a90ced0b918e701e4370692d21d9a73564fd.tar.gz |
Add OFF_T_MAX/OFF_T_MIN
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 4196887..3f53b25 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 */ |