diff options
author | Anatol Pomazau <anatol@google.com> | 2019-08-08 14:37:59 -0700 |
---|---|---|
committer | Anatol Pomozov <anatol@google.com> | 2019-08-09 22:20:15 +0000 |
commit | 60509705e6a69c4a10718e434ad6921c591b215f (patch) | |
tree | 0a50e39b20f815bb22ff2b4f2fa0202bd8784bc7 /libnativeloader/native_loader_namespace.cpp | |
parent | 3e59c847cc671cafd5be666531596e6e21ecf9ca (diff) |
Add header that declares memcpy function
It fixes following issue when compiling adb with host libraries:
In file included from core/adb/client/adb_install.cpp:31:
In file included from core/adb/adb.h:30:
In file included from core/adb/socket.h:28:
core/adb/types.h:237:9: error: use of undeclared identifier 'memcpy'; did you mean 'wmemcpy'?
memcpy(copy->data(), first_block->data() + begin_offset_, copy->size());
^~~~~~
wmemcpy
/usr/include/wchar.h:262:17: note: 'wmemcpy' declared here
extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
Change-Id: I233e533fa7a5e2ed98190e34e32ddbaddc528558
Diffstat (limited to 'libnativeloader/native_loader_namespace.cpp')
0 files changed, 0 insertions, 0 deletions