mirror of https://github.com/sm64pc/sm64pc.git
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
|