diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-05-13 13:27:36 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-05-13 13:27:36 +0000 |
commit | 9fc310dafe2f6b49f21479ce9dc61634da0e6226 (patch) | |
tree | 9d9652c984a325ba61c4a97bd969124e8b67bd18 | |
parent | 0473e2a14a57169f3b129329956c14d8f60dc7cd (diff) | |
download | rsync-9fc310dafe2f6b49f21479ce9dc61634da0e6226.tar.gz |
added replacement memmove
-rw-r--r-- | lib/compat.c | 8 |
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 |