summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-08-15 19:12:46 +0000
committerache <ache@FreeBSD.org>2001-08-15 19:12:46 +0000
commitb436c396c9e397ccb8a6b5725bb4cf4d408a64f7 (patch)
tree1c05fa6c41e4fd16be9b5b99bc3e33eede062f3e /sys/alpha
parent4b66d00120f16e89bf52444ec8d337e6462650c7 (diff)
downloadFreeBSD-src-b436c396c9e397ccb8a6b5725bb4cf4d408a64f7.zip
FreeBSD-src-b436c396c9e397ccb8a6b5725bb4cf4d408a64f7.tar.gz
Add OFF_T_MAX/OFF_T_MIN
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/include/_limits.h3
-rw-r--r--sys/alpha/include/limits.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/alpha/include/_limits.h b/sys/alpha/include/_limits.h
index 4889bb6..8f433c3 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 4889bb6..8f433c3 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 */
OpenPOWER on IntegriCloud