4 typedef __SIZE_TYPE__
size_t;
5 typedef __WCHAR_TYPE__
wchar_t;
6 typedef __PTRDIFF_TYPE__
ptrdiff_t;
11 typedef unsigned int uintptr_t;
13 typedef __PTRDIFF_TYPE__ ssize_t
;
14 typedef __PTRDIFF_TYPE__
intptr_t;
15 typedef __SIZE_TYPE__
uintptr_t;
18 #ifndef __int8_t_defined
19 #define __int8_t_defined
20 typedef signed char int8_t;
21 typedef signed short int int16_t;
22 typedef signed int int32_t;
24 typedef signed long int int64_t;
26 typedef signed long long int int64_t;
28 typedef unsigned char uint8_t;
29 typedef unsigned short int uint16_t;
30 typedef unsigned int uint32_t;
32 typedef unsigned long int uint64_t;
34 typedef unsigned long long int uint64_t;
39 #define NULL ((void*)0)
42 #define offsetof(type, field) ((size_t)&((type *)0)->field)
44 void *alloca(size_t size
);
48 /* Older glibc require a wint_t from <stddef.h> (when requested
49 by __need_wint_t, as otherwise stddef.h isn't allowed to
50 define this type). Note that this must be outside the normal
51 _STDDEF_H guard, so that it works even when we've included the file
52 already (without requiring wint_t). Some other libs define _WINT_T
53 if they've already provided that type, so we can use that as guard.
54 TCC defines __WINT_TYPE__ for us. */
55 #if defined (__need_wint_t)
58 typedef __WINT_TYPE__
wint_t;