X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/40f910c43ae4f3afdfc8edbe40ca695ecd786b57..2c1775620a18b1d7b4ac2cffca14d948beb78570:/rsync.h diff --git a/rsync.h b/rsync.h index 99f62e31..26379eb8 100644 --- a/rsync.h +++ b/rsync.h @@ -389,10 +389,7 @@ enum msgcode { * to ensure that any code that really requires a 64-bit integer has * it (e.g. the checksum code uses two 32-bit integers for its 64-bit * counter). */ -#if SIZEOF_OFF64_T == 8 -# define int64 off64_t -# define SIZEOF_INT64 8 -#elif SIZEOF_LONG == 8 +#if SIZEOF_LONG == 8 # define int64 long # define SIZEOF_INT64 8 #elif SIZEOF_INT == 8 @@ -401,6 +398,9 @@ enum msgcode { #elif SIZEOF_LONG_LONG == 8 # define int64 long long # define SIZEOF_INT64 8 +#elif SIZEOF_OFF64_T == 8 +# define int64 off64_t +# define SIZEOF_INT64 8 #elif SIZEOF_OFF_T == 8 # define int64 off_t # define SIZEOF_INT64 8