From: Robert A Basch Date: Sat, 13 Sep 2003 21:14:32 +0000 (+0000) Subject: windows-doesnt-always-have-long-long-20030913 X-Git-Tag: openafs-devel-1_3_50~59 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=5aa025d9e46a47811818ae14d371837d5e518f48;p=packages%2Fo%2Fopenafs.git windows-doesnt-always-have-long-long-20030913 --- diff --git a/src/config/stds.h b/src/config/stds.h index 35f45befd..0562ee07d 100644 --- a/src/config/stds.h +++ b/src/config/stds.h @@ -49,8 +49,13 @@ typedef unsigned short afs_uint16; #ifdef AFS_64BIT_ENV typedef int afs_int32; typedef unsigned int afs_uint32; +#if defined(AFS_NT40_ENV) && defined(_MSC_VER) +typedef __int64 afs_int64; +typedef unsigned __int64 afs_uint64; +#else typedef long long afs_int64; typedef unsigned long long afs_uint64; +#endif #define ZeroInt64(a) (a) = 0 #define AssignInt64(a, b) *(a) = (b) #define AddInt64(a,b,c) *(c) = (afs_int64)(a) + (afs_int64)(b)