From: Wayne Davison Date: Mon, 6 Sep 2010 15:25:19 +0000 (-0700) Subject: If we create an off_t type, define SIZEOF_OFF_T. X-Git-Tag: v3.0.8pre1~44 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=6abb59adf61a64a9353c8477bc23a701ba7e139e;p=rsync.git If we create an off_t type, define SIZEOF_OFF_T. --- diff --git a/rsync.h b/rsync.h index d804d495..5f914d1c 100644 --- a/rsync.h +++ b/rsync.h @@ -430,6 +430,8 @@ typedef unsigned int mode_t; #endif #ifndef HAVE_OFF_T typedef long off_t; +#undef SIZEOF_OFF_T +#define SIZEOF_OFF_T SIZEOF_LONG #endif #ifndef HAVE_SIZE_T typedef unsigned int size_t;