diff options
-rw-r--r-- | malloc/malloc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c index 2eb9c558b9..187c8147a0 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -415,9 +415,11 @@ extern "C" { #if __STD_C void* memset(void*, int, size_t); void* memcpy(void*, const void*, size_t); +void* memmove(void*, const void*, size_t); #else Void_t* memset(); Void_t* memcpy(); +Void_t* memmove(); #endif #endif @@ -462,6 +464,9 @@ do { \ } else memcpy(dest, src, mcsz); \ } while(0) +#define MALLOC_MEMMOVE(dest,src,nbytes) \ + memmove(dest, src, mcsz) + #else /* !USE_MEMCPY */ /* Use Duff's device for good zeroing/copying performance. */ |