aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-05-13 13:27:36 +0000
committerAndrew Tridgell <tridge@samba.org>1998-05-13 13:27:36 +0000
commit9fc310dafe2f6b49f21479ce9dc61634da0e6226 (patch)
tree9d9652c984a325ba61c4a97bd969124e8b67bd18 /lib
parent0473e2a14a57169f3b129329956c14d8f60dc7cd (diff)
downloadandroid_external_rsync-9fc310dafe2f6b49f21479ce9dc61634da0e6226.tar.gz
android_external_rsync-9fc310dafe2f6b49f21479ce9dc61634da0e6226.tar.bz2
android_external_rsync-9fc310dafe2f6b49f21479ce9dc61634da0e6226.zip
added replacement memmove
Diffstat (limited to 'lib')
-rw-r--r--lib/compat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/compat.c b/lib/compat.c
index e6e0e644..3e66cc91 100644
--- 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