From: Andrew Tridgell Date: Wed, 13 May 1998 13:27:36 +0000 (+0000) Subject: added replacement memmove X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/9fc310dafe2f6b49f21479ce9dc61634da0e6226?ds=sidebyside added replacement memmove --- 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