From: Jeffrey Altman Date: Tue, 29 Jul 2008 00:05:32 +0000 (+0000) Subject: DEVEL15-windows-large-files-20080728 X-Git-Tag: openafs-devel-1_5_51~3 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=49d7d5a9851d737d1dc7153fafea3a168a494224;p=packages%2Fo%2Fopenafs.git DEVEL15-windows-large-files-20080728 LICENSE MIT as part of the restructuring of code to separate the smb layer from the cm layer, large file support was broken. Define AFS_LARGEFILES in the right place so that it will be used in the cm. (cherry picked from commit b45b059ed9772642489d56372cbd74db4f0cfc02) --- diff --git a/src/WINNT/afsd/cm.h b/src/WINNT/afsd/cm.h index 5101f4cd4..f525bdc75 100644 --- a/src/WINNT/afsd/cm.h +++ b/src/WINNT/afsd/cm.h @@ -10,9 +10,16 @@ #ifndef __CM_H_ENV__ #define __CM_H_ENV__ 1 +/* We use pthreads in the cache manager (not LWP) */ #ifndef AFS_PTHREAD_ENV #define AFS_PTHREAD_ENV 1 #endif + +/* Support largefiles by default */ +#ifndef AFS_LARGEFILES +#define AFS_LARGEFILES 1 +#endif + #include #include #include diff --git a/src/WINNT/afsd/smb.h b/src/WINNT/afsd/smb.h index a8d42f0c3..2f0c07d7a 100644 --- a/src/WINNT/afsd/smb.h +++ b/src/WINNT/afsd/smb.h @@ -18,9 +18,6 @@ #include -/* Support largefiles by default */ -#define AFS_LARGEFILES - /* basic core protocol SMB structure */ #pragma pack(push, 1) typedef struct smb {