Attribution
This commit is contained in:
parent
d058c08d61
commit
f609e6db47
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@
|
||||||
#include <types/size_t.h>
|
#include <types/size_t.h>
|
||||||
#include <types/wchar_t.h>
|
#include <types/wchar_t.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
I do believe this is straight ripped from musl.
|
||||||
|
-Kat
|
||||||
|
*/
|
||||||
#define offsetof(type, member) (size_t)(&((type *)0->member))
|
#define offsetof(type, member) (size_t)(&((type *)0->member))
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue