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
need a ifdef around some mmap code
[rsync/rsync.git]
/
lib
/
compat.c
diff --git
a/lib/compat.c
b/lib/compat.c
index
e6e0e64
..
3e66cc9
100644
(file)
--- a/
lib/compat.c
+++ b/
lib/compat.c
@@
-50,3
+50,11
@@
pid_t waitpid(pid_t pid, int *statptr, int options)
}
#endif
+
+#ifndef HAVE_MEMMOVE
+void *memmove(void *dest, const void *src, size_t n)
+{
+ bcopy(src, dest, n);
+ return dest;
+}
+#endif