#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
#define AFS_KRB5_ERROR_ENV 1 /* fetch_krb5_error_message() available in afsutil.lib */
#define HAVE_SSIZE_T 1
+#define HAVE_INT64TOINT32 1
#include <afs/afs_sysnames.h>
#define SYS_NAME_ID SYS_NAME_ID_amd64_w2k
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
#define AFS_KRB5_ERROR_ENV 1 /* fetch_krb5_error_message() available in afsutil.lib */
#define HAVE_SSIZE_T 1
+#define HAVE_INT64TOINT32 1
#include <afs/afs_sysnames.h>
#define SYS_NAME_ID SYS_NAME_ID_i386_w2k
#define AFS_64BIT_IOPS_ENV 1
#define AFS_NAMEI_ENV 1 /* User space interface to file system */
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define HAVE_SSIZE_T 1
+#define HAVE_INT64TOINT32 1
#include <afs/afs_sysnames.h>
#define SYS_NAME_ID SYS_NAME_ID_i64_w2k
#define CompareInt64(a,b) (afs_int64)(a) - (afs_int64)(b)
#define CompareUInt64(a,b) (afs_uint64)(a) - (afs_uint64)(b)
#define NonZeroInt64(a) (a)
+#ifndef HAVE_INT64TOINT32
#define Int64ToInt32(a) (a) & MAX_AFS_UINT32
+#endif
#define FillInt64(t,h,l) (t) = ((afs_int64)(h) << 32) | (l);
#define SplitInt64(t,h,l) (h) = ((afs_int64)t) >> 32; (l) = (t) & MAX_AFS_UINT32;
#define RoundInt64ToInt32(a) (a > MAX_AFS_UINT32) ? MAX_AFS_UINT32 : a;