Attribution

This commit is contained in:
Kat R. 2022-10-09 11:47:13 -05:00
parent d058c08d61
commit f609e6db47
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@
#include <types/size_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))
#endif