From: Jeffrey Altman Date: Mon, 28 Jul 2008 23:57:24 +0000 (+0000) Subject: windows-large-files-20080728 X-Git-Tag: openafs-devel-1_5_61~934 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=b45b059ed9772642489d56372cbd74db4f0cfc02;p=packages%2Fo%2Fopenafs.git 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. --- 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 711aaa3a2..e136237ab 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 {