From 77b2a90ced0b918e701e4370692d21d9a73564fd Mon Sep 17 00:00:00 2001 From: ache Date: Wed, 15 Aug 2001 19:25:08 +0000 Subject: Add OFF_T_MAX/OFF_T_MIN --- sys/sparc64/include/limits.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/sparc64/include/limits.h') 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 */ -- cgit v1.1