fix up the int64 handling a little. It should work on a few more
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 82ac323..6034952 100644 (file)
--- a/rsync.h
+++ b/rsync.h
 #define uint32 unsigned int32
 #endif
 
-#ifdef HAVE_LONGLONG
+#if (SIZEOF_LONG == 8) 
+#define int64 long
+#elif (SIZEOF_INT == 8) 
+#define int64 int
+#elif HAVE_LONGLONG
 #define int64 long long
 #else
 #define int64 off_t
+#define NO_INT64
 #endif
 
 #ifndef MIN