From 9fc310dafe2f6b49f21479ce9dc61634da0e6226 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 13 May 1998 13:27:36 +0000 Subject: [PATCH] added replacement memmove --- lib/compat.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.34.1