added tentative offsetof macro

This commit is contained in:
Gitea 2020-12-13 05:17:50 -06:00
parent 645963e2b8
commit 25658c7690

View file

@ -19,4 +19,6 @@
#include <types/size_t.h>
#include <types/wchar_t.h>
#define offsetof(type, member) (size_t)(&((type *)0->member))
#endif