diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h index 29dcda7fa7..7a4faa6663 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) */