mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 10:37:33 -07:00
Go CLI work
This commit is contained in:
parent
a7e38d2b00
commit
f4a5abeed9
7 changed files with 154 additions and 10 deletions
18
attic/linux-old-glibc-compat.c
Normal file
18
attic/linux-old-glibc-compat.c
Normal file
|
@ -0,0 +1,18 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue