Unified · Split
| @@ -2,9 +2,9 @@ · 1 unmodified line | |||
| 2 | #define _STDDEF_H | 2 | #define _STDDEF_H |
| 3 | 3 | ||
| 4 | #define NULL ((void *)0) | 4 | #define NULL ((void *)0) |
| 5 | typedef unsigned int size_t; | 5 | typedef __SIZE_TYPE__ size_t; |
| 6 | typedef int wchar_t; | 6 | typedef __WCHAR_TYPE__ wchar_t; |
| 7 | typedef int ptrdiff_t; | 7 | typedef __PTRDIFF_TYPE__ ptrdiff_t; |
| 8 | #define offsetof(type, field) ((size_t) &((type *)0)->field) | 8 | #define offsetof(type, field) ((size_t) &((type *)0)->field) |
| 9 | 9 | ||
| 10 | /* need to do that because of glibc 2.1 bug (should have a way to test | 10 | /* need to do that because of glibc 2.1 bug (should have a way to test |