summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libspl/include/sys/param.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/libspl/include/sys/param.h b/lib/libspl/include/sys/param.h
index d9e7782e4..3efb56ed4 100644
--- a/lib/libspl/include/sys/param.h
+++ b/lib/libspl/include/sys/param.h
@@ -47,13 +47,8 @@
#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
-#define MAXNAMELEN 256
-
-#ifdef _LP64
-#define MAXOFFSET_T 0x7fffffffffffffffl
-#else
-#define MAXOFFSET_T 0x7fffffffl
-#endif
+#define MAXNAMELEN 256
+#define MAXOFFSET_T LLONG_MAX
#define UID_NOBODY 60001 /* user ID no body */
#define GID_NOBODY UID_NOBODY