mirror of
https://github.com/zeldaret/ph
synced 2026-05-30 08:56:32 -04:00
Add offsetof macro
This commit is contained in:
@@ -5,4 +5,6 @@
|
||||
|
||||
typedef unsigned int size_t;
|
||||
|
||||
#define offsetof(type, member) (size_t) &((type *) NULL)->member
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user