Refine platform detection

pull/5007/head
Craig Tiller 9 years ago
parent 00572a9dec
commit 2cf2389ef8
  1. 3
      src/core/support/wrap_memcpy.c

@ -39,8 +39,11 @@
* Enable by setting LDFLAGS=-Wl,-wrap,memcpy when linking.
*/
#ifdef __linux__
__asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
void *__wrap_memcpy(void *destination, const void *source, size_t num) {
return memcpy(destination, source, num);
}
#endif

Loading…
Cancel
Save