diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/include/stddef.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/x86/include/stddef.h b/src/arch/x86/include/stddef.h index e4fc019c87..a6c3fc6e15 100644 --- a/src/arch/x86/include/stddef.h +++ b/src/arch/x86/include/stddef.h @@ -2,7 +2,10 @@ #define I386_STDDEF_H typedef long ptrdiff_t; -typedef unsigned long size_t; +#ifndef __SIZE_TYPE__ +#define __SIZE_TYPE__ unsigned long +#endif +typedef __SIZE_TYPE__ size_t; typedef long ssize_t; typedef int wchar_t; |