diff options
author | Wayne Davison <wayned@samba.org> | 2010-09-06 08:25:19 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2010-09-06 08:26:41 -0700 |
commit | c6679e04f8bfacc27a88be9927db5e79bbefc78b (patch) | |
tree | 0f4103a893368cc9a057f1d941c2e29e3e34d516 /rsync.h | |
parent | 9cb20c605f2c4c9a0928496529ce318643536e1a (diff) | |
download | rsync-c6679e04f8bfacc27a88be9927db5e79bbefc78b.tar.gz rsync-c6679e04f8bfacc27a88be9927db5e79bbefc78b.tar.bz2 rsync-c6679e04f8bfacc27a88be9927db5e79bbefc78b.zip |
If we create an off_t type, define SIZEOF_OFF_T.
Diffstat (limited to 'rsync.h')
-rw-r--r-- | rsync.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |