diff --git a/src/config/param.amd64_w2k.h b/src/config/param.amd64_w2k.h index 1efe6aa4b9..e0aa08be3a 100644 --- a/src/config/param.amd64_w2k.h +++ b/src/config/param.amd64_w2k.h @@ -39,6 +39,10 @@ typedef __int64 ssize_t; /* these macros define Unix-style functions missing in VC++5.0/NT4.0 */ #define MAXPATHLEN _MAX_PATH +/* map lstat calls to _stat, until an AFS-aware lstat wrapper + * can be written */ +#define lstat(a, b) _stat((a), (b)) + #if 0 #define memset(A, 0, S) memset((void*)(A), 0, (size_t)(S)) #define memcpy(B, A, S) memcpy((void*)(B), (void*)(A), (size_t)(S)) diff --git a/src/config/param.i386_w2k.h b/src/config/param.i386_w2k.h index 30ab18bd29..151e2e6448 100644 --- a/src/config/param.i386_w2k.h +++ b/src/config/param.i386_w2k.h @@ -39,6 +39,10 @@ typedef int ssize_t; /* these macros define Unix-style functions missing in VC++5.0/NT4.0 */ #define MAXPATHLEN _MAX_PATH +/* map lstat calls to _stat, until an AFS-aware lstat wrapper + * can be written */ +#define lstat(a, b) _stat((a), (b)) + #if 0 #define memset(A, 0, S) memset((void*)(A), 0, (size_t)(S)) #define memcpy(B, A, S) memcpy((void*)(B), (void*)(A), (size_t)(S)) diff --git a/src/config/param.i64_w2k.h b/src/config/param.i64_w2k.h index 065125337f..3bfe9718eb 100644 --- a/src/config/param.i64_w2k.h +++ b/src/config/param.i64_w2k.h @@ -38,6 +38,10 @@ typedef __int64 ssize_t; /* these macros define Unix-style functions missing in VC++5.0/NT4.0 */ #define MAXPATHLEN _MAX_PATH +/* map lstat calls to _stat, until an AFS-aware lstat wrapper + * can be written */ +#define lstat(a, b) _stat((a), (b)) + #if 0 #define memset(A, 0, S) memset((void*)(A), 0, (size_t)(S)) #define memcpy(B, A, S) memcpy((void*)(B), (void*)(A), (size_t)(S))