#define __TINYC__ = version-number
[tinycc/k1w1.git] / include / stddef.h
blobaef5b392316a6b87de6f416b0bbb127388df4d1a
1 #ifndef _STDDEF_H
2 #define _STDDEF_H
4 #define NULL ((void *)0)
5 typedef __SIZE_TYPE__ size_t;
6 typedef __WCHAR_TYPE__ wchar_t;
7 typedef __PTRDIFF_TYPE__ ptrdiff_t;
8 #define offsetof(type, field) ((size_t) &((type *)0)->field)
10 #ifndef __int8_t_defined
11 #define __int8_t_defined
12 typedef char int8_t;
13 typedef short int int16_t;
14 typedef int int32_t;
15 typedef long long int int64_t;
16 #endif
18 void *alloca(size_t size);
20 #endif