From a6314641a45ac9fda3cd367b55c831cf0e71daed Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" 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 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 */ -- cgit v1.2.3