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.1.0pre1~188 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c6679e04f8bfacc27a88be9927db5e79bbefc78b;p=thirdparty%2Frsync.git If we create an off_t type, define SIZEOF_OFF_T. --- diff --git a/rsync.h b/rsync.h index 4a5313e9..3404da78 100644 --- a/rsync.h +++ b/rsync.h @@ -465,6 +465,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;