TWOGIGS and FOURGIGS moved to server_def.h, unbreaks compilation on

systems without largefiles.
This commit is contained in:
Radim Kolar 2009-06-14 13:27:16 +02:00
parent 21e967fcac
commit 4525ec4a13
3 changed files with 4 additions and 3 deletions

View File

@ -24,6 +24,7 @@ Version 2.8.1b25 - testing in progress
same thing like ./configure do same thing like ./configure do
autogen.sh script fixed for FreeBSD builds. Execution order of gnu autogen.sh script fixed for FreeBSD builds. Execution order of gnu
autotools was wrong and fallback to default autotools was wrong. autotools was wrong and fallback to default autotools was wrong.
unbreak compilation on systems without large files
Version 2.8.1b24 - 19 Feb 2005 Version 2.8.1b24 - 19 Feb 2005
use getopt from stdio.h instead of getopt.h in fspscan.c use getopt from stdio.h instead of getopt.h in fspscan.c

View File

@ -118,4 +118,7 @@ typedef struct {
#define FSP_PASSWORD ".FSP_OK_PASSWORD" #define FSP_PASSWORD ".FSP_OK_PASSWORD"
#define FSP_OWNERPASSWORD ".FSP_OWNER_PASSWORD" #define FSP_OWNERPASSWORD ".FSP_OWNER_PASSWORD"
#define FOURGIGS 0xffffffffUL
#define TWOGIGS 0x7fffffffUL
#endif /* _FSP_SERVER_DEF_H_ */ #endif /* _FSP_SERVER_DEF_H_ */

View File

@ -31,9 +31,6 @@ static struct FifoCache *dirstatcache;
/* open file handles cache */ /* open file handles cache */
static struct FifoCache *fpcache; static struct FifoCache *fpcache;
#define FOURGIGS 0xffffffffUL
#define TWOGIGS 0x7fffffffUL
static FPCACHE *search_fpcache (unsigned long inet_num, static FPCACHE *search_fpcache (unsigned long inet_num,
unsigned short port_num, unsigned short port_num,
const char * fname) const char * fname)