]> git.proxmox.com Git - mirror_spl-debian.git/commit
Fix 32-bit MAXOFFSET_T definition
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 22 Apr 2011 23:17:13 +0000 (16:17 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 22 Apr 2011 23:17:13 +0000 (16:17 -0700)
commitd837ae395b3368bcdc13a7ef1ad8abfc8d24e88f
tree585fbf802e8e6098e94f1cd54cfb12a9df4e71f2
parent5b8f76ea16f5634c6a28490f149e699afce09cdf
Fix 32-bit MAXOFFSET_T definition

The correct definition of MAXOFFSET_T under Solaris is in reality
tied to the maximum size of a 'long long' type.  With this in mind
MAXOFFSET_T is now defined as LLONG_MAX which ensures the correct
value is used on both 32-bit and 64-bit systems.
include/sys/sysmacros.h