Minor bug fix due to MAXOFFSET_T constant being too large on 32-bit systems.
This commit is contained in:
parent
e50ad76da5
commit
f500ccff35
|
@ -61,7 +61,12 @@ extern "C" {
|
||||||
#define MAXMSGLEN 256
|
#define MAXMSGLEN 256
|
||||||
#define MAXNAMELEN 256
|
#define MAXNAMELEN 256
|
||||||
#define MAXPATHLEN PATH_MAX
|
#define MAXPATHLEN PATH_MAX
|
||||||
|
|
||||||
|
#ifdef _LP64
|
||||||
#define MAXOFFSET_T 0x7fffffffffffffffl
|
#define MAXOFFSET_T 0x7fffffffffffffffl
|
||||||
|
#else
|
||||||
|
#define MAXOFFSET_T 0x7fffffffl
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MAXBSIZE 8192
|
#define MAXBSIZE 8192
|
||||||
#define DEV_BSIZE 512
|
#define DEV_BSIZE 512
|
||||||
|
|
Loading…
Reference in New Issue