From 527b997c3dfd3f2b2cf69b43208752711196c4cc Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 15 Aug 2001 19:12:46 +0000 Subject: Add OFF_T_MAX/OFF_T_MIN --- sys/alpha/include/_limits.h | 3 +++ sys/alpha/include/limits.h | 3 +++ 2 files changed, 6 insertions(+) (limited to 'sys/alpha/include') diff --git a/sys/alpha/include/_limits.h b/sys/alpha/include/_limits.h index 4889bb6fcc0bc..8f433c3d74f3e 100644 --- a/sys/alpha/include/_limits.h +++ b/sys/alpha/include/_limits.h @@ -82,6 +82,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 */ diff --git a/sys/alpha/include/limits.h b/sys/alpha/include/limits.h index 4889bb6fcc0bc..8f433c3d74f3e 100644 --- a/sys/alpha/include/limits.h +++ b/sys/alpha/include/limits.h @@ -82,6 +82,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.3