Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 1 | #ifndef I386_STDDEF_H |
2 | #define I386_STDDEF_H | ||||
3 | |||||
4 | typedef long ptrdiff_t; | ||||
5 | typedef unsigned long size_t; | ||||
6 | typedef long ssize_t; | ||||
7 | |||||
8 | typedef int wchar_t; | ||||
9 | typedef unsigned int wint_t; | ||||
10 | |||||
Eric Biederman | b78c197 | 2004-10-14 20:54:17 +0000 | [diff] [blame] | 11 | #define NULL ((void *)0) |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 12 | |
13 | #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) | ||||
14 | |||||
15 | #endif /* I386_STDDEF_H */ |