mirror of
https://github.com/n64decomp/mk64
synced 2026-05-24 15:01:10 -04:00
b1161c2ce8
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
11 lines
145 B
C
11 lines
145 B
C
#ifndef STDDEF_H
|
|
#define STDDEF_H
|
|
|
|
#include <PR/ultratypes.h>
|
|
|
|
#ifndef offsetof
|
|
#define offsetof(st, m) ((size_t)&(((st *)0)->m))
|
|
#endif
|
|
|
|
#endif
|