mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-11-21 04:50:31 -08: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
|