Adding upstream version 3.61.
[syslinux-debian/hramrach.git] / com32 / include / stddef.h
blob125d2352ec2567af3455d997dbbc929dda429688
1 /*
2 * stddef.h
3 */
5 #ifndef _STDDEF_H
6 #define _STDDEF_H
8 #ifndef __KLIBC__
9 # define __KLIBC__ 1
10 #endif
12 #include <bitsize/stddef.h>
14 #undef NULL
15 #ifdef __cplusplus
16 # define NULL 0
17 #else
18 # define NULL ((void *)0)
19 #endif
21 #undef offsetof
22 #define offsetof(t,m) ((size_t)&((t *)0)->m)
24 #endif /* _STDDEF_H */