scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit f4cc6f2eedec3ed0ae4b953aa6f5babda61a671e
parent 0f9980fc8dbb5d51b6442f892aa2c31a9c05c768
Author: Quentin Rameau <quinq@fifth.space>
Date:   Tue, 21 Feb 2017 19:26:05 +0100

[libc] Fix size_t size accross architectures

Diffstat:
libc/include/bits/amd64-sysv/arch/string.h | 2+-
libc/include/bits/i386-sysv/arch/string.h | 2+-
libc/include/bits/qbe/arch/string.h | 2+-
libc/include/bits/z80/arch/stddef.h | 4++--
4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/libc/include/bits/amd64-sysv/arch/string.h b/libc/include/bits/amd64-sysv/arch/string.h @@ -5,5 +5,5 @@ #endif #ifndef _SIZET -typedef unsigned size_t; +typedef unsigned long size_t; #endif diff --git a/libc/include/bits/i386-sysv/arch/string.h b/libc/include/bits/i386-sysv/arch/string.h @@ -5,5 +5,5 @@ #endif #ifndef _SIZET -typedef unsigned size_t; +typedef unsigned long size_t; #endif diff --git a/libc/include/bits/qbe/arch/string.h b/libc/include/bits/qbe/arch/string.h @@ -5,5 +5,5 @@ #endif #ifndef _SIZET -typedef unsigned size_t; +typedef unsigned long size_t; #endif diff --git a/libc/include/bits/z80/arch/stddef.h b/libc/include/bits/z80/arch/stddef.h @@ -5,12 +5,12 @@ #endif #ifndef _SIZET -typedef unsigned short size_t; +typedef unsigned size_t; #define _SIZET #endif #ifndef _WCHAR_T -typedef short wchar_t; +typedef short wchar_t; #define _WCHAR_T #endif