Merge "adb: add implementation of mempcpy for deficient platforms." am: d956dd78d0
am: 1264028fc7
Change-Id: I278f6cdca366c5c1c4189751dff2e86b3ef29558
This commit is contained in:
commit
68e279641f
1 changed files with 6 additions and 0 deletions
|
@ -42,6 +42,12 @@
|
|||
#include "sysdeps/network.h"
|
||||
#include "sysdeps/stat.h"
|
||||
|
||||
#if defined(__APPLE__)
|
||||
static void* mempcpy(void* dst, const void* src, size_t n) {
|
||||
return static_cast<char*>(memcpy(dst, src, n)) + n;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
// Clang-only nullability specifiers
|
||||
|
|
Loading…
Reference in a new issue