4 #include <arch/types.h>
7 #define offsetof(type, member) __builtin_offsetof(type, member)
10 #ifndef __WCHAR_TYPE__
11 #define __WCHAR_TYPE__ int
14 typedef __WCHAR_TYPE__
wchar_t;
18 #define __SIZE_TYPE__ unsigned long
20 typedef __SIZE_TYPE__
size_t;
21 /* There is a GCC macro for a size_t type, but not
22 * for a ssize_t type. Below construct tricks GCC
23 * into making __SIZE_TYPE__ signed.
25 #define unsigned signed
26 typedef __SIZE_TYPE__ ssize_t
;