git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d79bc5c
)
If we create an off_t type, define SIZEOF_OFF_T.
author
Wayne Davison
<wayned@samba.org>
Mon, 6 Sep 2010 15:25:19 +0000
(08:25 -0700)
committer
Wayne Davison
<wayned@samba.org>
Mon, 6 Sep 2010 15:26:50 +0000
(08:26 -0700)
rsync.h
patch
|
blob
|
history
diff --git
a/rsync.h
b/rsync.h
index d804d495dce22de2685a16fed8390034c04e755c..5f914d1c1679cb15dc9eb9e9dfe53d5c1523a0cc 100644
(file)
--- 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;