summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-08-15 19:25:08 +0000
committerache <ache@FreeBSD.org>2001-08-15 19:25:08 +0000
commit77b2a90ced0b918e701e4370692d21d9a73564fd (patch)
treeb57dfae18acfd63039ba55d9c4595093bbcd2e64 /sys/powerpc
parentbdcb660d116f9893bd16f6c717da9d6de315b2f9 (diff)
downloadFreeBSD-src-77b2a90ced0b918e701e4370692d21d9a73564fd.zip
FreeBSD-src-77b2a90ced0b918e701e4370692d21d9a73564fd.tar.gz
Add OFF_T_MAX/OFF_T_MIN
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/_limits.h3
-rw-r--r--sys/powerpc/include/limits.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/powerpc/include/_limits.h b/sys/powerpc/include/_limits.h
index 4e95956..887be71 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 */
diff --git a/sys/powerpc/include/limits.h b/sys/powerpc/include/limits.h
index 4e95956..887be71 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 */
OpenPOWER on IntegriCloud