Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no longer needed
[rsync/rsync.git]
/
syscall.c
diff --git
a/syscall.c
b/syscall.c
index
c655969
..
a8470e1
100644
(file)
--- a/
syscall.c
+++ b/
syscall.c
@@
-149,6
+149,17
@@
OFF_T do_lseek(int fd, OFF_T offset, int whence)
#endif
}
#endif
}
+#if HAVE_MMAP
+void *do_mmap(void *start, int len, int prot, int flags, int fd, OFF_T offset)
+{
+#if HAVE_OFF64_T
+ return mmap64(start, len, prot, flags, fd, offset);
+#else
+ return mmap(start, len, prot, flags, fd, offset);
+#endif
+}
+#endif
+
char *d_name(struct dirent *di)
{
#if HAVE_BROKEN_READDIR
char *d_name(struct dirent *di)
{
#if HAVE_BROKEN_READDIR