1 /* The <stddef.h> header defines certain commonly used macros. */
6 #define NULL ((void *)0)
8 /* The following is not portable, but the compiler accepts it. */
9 #define offsetof(type, ident) ((size_t) (unsigned long) &((type *)0)->ident)
11 #if _EM_PSIZE == _EM_WSIZE
12 typedef int ptrdiff_t; /* result of subtracting two pointers */
13 #else /* _EM_PSIZE == _EM_LSIZE */
14 typedef long ptrdiff_t;
19 typedef unsigned int size_t; /* type returned by sizeof */
24 typedef char wchar_t; /* type expanded character set */
27 #endif /* _STDDEF_H */