summaryrefslogtreecommitdiffstats
path: root/include/sys/sysmacros.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/sysmacros.h')
-rw-r--r--include/sys/sysmacros.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h
index 29dcda7fa..7a4faa666 100644
--- a/include/sys/sysmacros.h
+++ b/include/sys/sysmacros.h
@@ -65,13 +65,7 @@
#define MAXMSGLEN 256
#define MAXNAMELEN 256
#define MAXPATHLEN PATH_MAX
-
-#ifdef _LP64
-#define MAXOFFSET_T 0x7fffffffffffffffl
-#else
-#define MAXOFFSET_T 0x7fffffffl
-#endif
-
+#define MAXOFFSET_T LLONG_MAX
#define MAXBSIZE 8192
#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */