added replacement memmove
authorAndrew Tridgell <tridge@samba.org>
Wed, 13 May 1998 13:27:36 +0000 (13:27 +0000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 13 May 1998 13:27:36 +0000 (13:27 +0000)
lib/compat.c

index e6e0e64..3e66cc9 100644 (file)
@@ -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