mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-22 14:22:23 +00:00
19 lines
274 B
C
19 lines
274 B
C
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
__asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern void *__wrap_memcpy(void *dest,const void *src,size_t n)
|
|
{
|
|
return memcpy(dest,src,n);
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|