scc

suckless C compiler
git clone git://git.suckless.org/scc
Log | Files | Refs | README | LICENSE

commit 9c0cdc0d646eb080d3593b2b36382cac3b4bfb8b
parent e7fa60aacaa1ebce5b97f0d46b9d49cb0a43e11b
Author: Quentin Rameau <quinq@fifth.space>
Date:   Fri, 10 Mar 2017 11:50:50 +0100

[libc] Fix wchar_t definition in stddef.h

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

diff --git a/libc/include/bits/amd64-sysv/arch/stddef.h b/libc/include/bits/amd64-sysv/arch/stddef.h @@ -6,7 +6,7 @@ typedef unsigned long size_t; #endif #ifndef _WCHAR_T -typedef short wchar_t; +typedef int wchar_t; #define _WCHAR_T #endif diff --git a/libc/include/bits/i386-sysv/arch/stddef.h b/libc/include/bits/i386-sysv/arch/stddef.h @@ -6,7 +6,7 @@ typedef unsigned long size_t; #endif #ifndef _WCHAR_T -typedef short wchar_t; +typedef int wchar_t; #define _WCHAR_T #endif diff --git a/libc/include/bits/qbe/arch/stddef.h b/libc/include/bits/qbe/arch/stddef.h @@ -6,7 +6,7 @@ typedef unsigned long size_t; #endif #ifndef _WCHAR_T -typedef short wchar_t; +typedef int wchar_t; #define _WCHAR_T #endif diff --git a/libc/include/bits/z80/arch/stdlib.h b/libc/include/bits/z80/arch/stdlib.h @@ -9,7 +9,7 @@ typedef unsigned size_t; #define EXIT_SUCCESS 0 #ifndef _WCHAR_T -typedef long wchar_t; +typedef short wchar_t; #define _WCHAR_T #endif