Minor bug fix due to MAXOFFSET_T constant being too large on 32-bit systems.

This commit is contained in:
Ricardo M. Correia 2009-02-07 00:53:39 +00:00
parent e50ad76da5
commit f500ccff35
1 changed files with 5 additions and 0 deletions

View File

@ -61,7 +61,12 @@ extern "C" {
#define MAXMSGLEN 256
#define MAXNAMELEN 256
#define MAXPATHLEN PATH_MAX
#ifdef _LP64
#define MAXOFFSET_T 0x7fffffffffffffffl
#else
#define MAXOFFSET_T 0x7fffffffl
#endif
#define MAXBSIZE 8192
#define DEV_BSIZE 512