Add offsetof macro

This commit is contained in:
Aetias
2025-03-08 11:46:11 +01:00
parent 656ec5779c
commit 35d8fa6f10
+2
View File
@@ -5,4 +5,6 @@
typedef unsigned int size_t;
#define offsetof(type, member) (size_t) &((type *) NULL)->member
#endif