summaryrefslogtreecommitdiff
path: root/sys/powerpc/include/_limits.h
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-08-15 19:25:08 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-08-15 19:25:08 +0000
commita6314641a45ac9fda3cd367b55c831cf0e71daed (patch)
treeb57dfae18acfd63039ba55d9c4595093bbcd2e64 /sys/powerpc/include/_limits.h
parenta4eb6654481acdfc34ee685d6fb3d31c14773e36 (diff)
Notes
Diffstat (limited to 'sys/powerpc/include/_limits.h')
-rw-r--r--sys/powerpc/include/_limits.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/powerpc/include/_limits.h b/sys/powerpc/include/_limits.h
index 4e95956e11df..887be718693d 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 */