summaryrefslogtreecommitdiffstats
path: root/src/include/stddef.h
blob: 49cef083268afb4f47e885195974f4d5733c384c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __STDDEF_H
#define __STDDEF_H

#ifndef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void*)0)
#endif
#endif

#define offsetof(type, member) __builtin_offsetof(type, member)

#endif
OpenPOWER on IntegriCloud