aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2010-09-06 08:25:19 -0700
committerWayne Davison <wayned@samba.org>2010-09-06 08:26:50 -0700
commit6abb59adf61a64a9353c8477bc23a701ba7e139e (patch)
tree9aba309af09142c0f20b273315403f74d7dbd478
parentd79bc5c791f443528405ad112a7aacae1b1655b1 (diff)
downloadandroid_external_rsync-6abb59adf61a64a9353c8477bc23a701ba7e139e.tar.gz
android_external_rsync-6abb59adf61a64a9353c8477bc23a701ba7e139e.tar.bz2
android_external_rsync-6abb59adf61a64a9353c8477bc23a701ba7e139e.zip
If we create an off_t type, define SIZEOF_OFF_T.
-rw-r--r--rsync.h2
1 files changed, 2 insertions, 0 deletions
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;