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/powerpc/include | |
parent | bdcb660d116f9893bd16f6c717da9d6de315b2f9 (diff) | |
download | FreeBSD-src-77b2a90ced0b918e701e4370692d21d9a73564fd.zip FreeBSD-src-77b2a90ced0b918e701e4370692d21d9a73564fd.tar.gz |
Add OFF_T_MAX/OFF_T_MIN
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r-- | sys/powerpc/include/_limits.h | 3 | ||||
-rw-r--r-- | sys/powerpc/include/limits.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/powerpc/include/_limits.h b/sys/powerpc/include/_limits.h index 4e95956..887be71 100644 --- a/sys/powerpc/include/_limits.h +++ b/sys/powerpc/include/_limits.h @@ -93,6 +93,9 @@ #if !defined(_POSIX_SOURCE) #define SIZE_T_MAX UINT_MAX /* max value for a size_t */ +#define OFF_T_MAX LLONG_MAX /* max value for a off_t */ +#define OFF_T_MIN LLONG_MIN /* min value for a off_t */ + /* Quads and long longs are the same size. Ensure they stay in sync. */ #define UQUAD_MAX ULLONG_MAX /* max value for a uquad_t */ #define QUAD_MAX LLONG_MAX /* max value for a quad_t */ diff --git a/sys/powerpc/include/limits.h b/sys/powerpc/include/limits.h index 4e95956..887be71 100644 --- a/sys/powerpc/include/limits.h +++ b/sys/powerpc/include/limits.h @@ -93,6 +93,9 @@ #if !defined(_POSIX_SOURCE) #define SIZE_T_MAX UINT_MAX /* max value for a size_t */ +#define OFF_T_MAX LLONG_MAX /* max value for a off_t */ +#define OFF_T_MIN LLONG_MIN /* min value for a off_t */ + /* Quads and long longs are the same size. Ensure they stay in sync. */ #define UQUAD_MAX ULLONG_MAX /* max value for a uquad_t */ #define QUAD_MAX LLONG_MAX /* max value for a quad_t */ |