X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/5a3810b4636f02a1276f8a39c28accdff8d664a3..4d51f0db79f11734a92db2d876aeb7b0f6546735:/rsync.h diff --git a/rsync.h b/rsync.h index 99f62e31..de9de8e7 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 @@ -498,8 +498,9 @@ struct idev { #define HL_SKIP 1 struct hlink { - int next; - int hlindex; + int32 next; + int32 hlindex; + unsigned short link_dest_used; }; #define F_DEV link_u.idev->dev