NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
stddef.h
1#ifndef MSL_STDDEF_H
2#define MSL_STDDEF_H
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7#ifndef NULL
8#define NULL 0
9#endif // NULL
10
11#ifdef __CWCC__
12#define offsetof(ST, M) ((size_t) & (((ST*)0)->M))
13#else
14#define offsetof(ST, M) __builtin_offsetof(ST, M)
15#endif
16
17typedef signed long intptr_t;
18typedef unsigned long uintptr_t;
19typedef intptr_t ptrdiff_t;
20
21#if __CWCC__
22typedef unsigned long size_t;
23#endif
24
25#ifndef __cplusplus
26typedef unsigned short wchar_t;
27#endif
28
29#ifdef __cplusplus
30}
31#endif
32#endif