diff options
author | 2017-09-25 21:20:19 -0700 | |
---|---|---|
committer | 2017-10-02 16:32:27 -0700 | |
commit | 547653ebdb3cc16e3c0fb65383322bc7dacc9b90 (patch) | |
tree | 985bc774d914646ae8ead7717e3d6db2aeb01725 /src/core/lib/support/wrap_memcpy.cc | |
parent | 15ce142d65dc9f46c88457d9da692f5b5bd82a3c (diff) |
some build changes, some unresolved dependencies
Diffstat (limited to 'src/core/lib/support/wrap_memcpy.cc')
-rw-r--r-- | src/core/lib/support/wrap_memcpy.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lib/support/wrap_memcpy.cc b/src/core/lib/support/wrap_memcpy.cc index cff056dc3b..c2362bf5b8 100644 --- a/src/core/lib/support/wrap_memcpy.cc +++ b/src/core/lib/support/wrap_memcpy.cc @@ -26,6 +26,7 @@ * Enable by setting LDFLAGS=-Wl,-wrap,memcpy when linking. */ +extern "C" { #ifdef __linux__ #if defined(__x86_64__) && !defined(GPR_MUSL_LIBC_COMPAT) __asm__(".symver memcpy,memcpy@GLIBC_2.2.5"); @@ -38,3 +39,4 @@ void *__wrap_memcpy(void *destination, const void *source, size_t num) { } #endif #endif +} |