summaryrefslogtreecommitdiff
path: root/libs/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/cstddef
blob: cd142bcf60fa1f4300c16bdaac5ac2d644979d6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef _MSL_CSTDDEF_H_
#define _MSL_CSTDDEF_H_

#ifdef __cplusplus
extern "C" {
#endif

#define offsetof(type, member)	((size_t)&(((type*)0)->member))

#ifndef NULL
#define NULL 0
#endif

typedef unsigned long size_t;
typedef long ptrdiff_t;

#ifndef __cplusplus
typedef unsigned short wchar_t;
#endif

#ifdef __cplusplus
};
#endif

#endif