[hackers] [scc] [libc] Fix wchar_t definition in stddef.h || Quentin Rameau
commit 9c0cdc0d646eb080d3593b2b36382cac3b4bfb8b
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Fri Mar 10 11:50:50 2017 +0100
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Fri Mar 17 08:47:03 2017 +0100
[libc] Fix wchar_t definition in stddef.h
diff --git a/libc/include/bits/amd64-sysv/arch/stddef.h b/libc/include/bits/amd64-sysv/arch/stddef.h
index e33ace0..e4905d1 100644
--- a/libc/include/bits/amd64-sysv/arch/stddef.h
+++ b/libc/include/bits/amd64-sysv/arch/stddef.h
_AT_@ -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
index e33ace0..e4905d1 100644
--- a/libc/include/bits/i386-sysv/arch/stddef.h
+++ b/libc/include/bits/i386-sysv/arch/stddef.h
_AT_@ -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
index e33ace0..e4905d1 100644
--- a/libc/include/bits/qbe/arch/stddef.h
+++ b/libc/include/bits/qbe/arch/stddef.h
_AT_@ -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
index 23f1644..a635569 100644
--- a/libc/include/bits/z80/arch/stdlib.h
+++ b/libc/include/bits/z80/arch/stdlib.h
_AT_@ -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
Received on Fri Mar 17 2017 - 08:50:00 CET
This archive was generated by hypermail 2.3.0
: Fri Mar 17 2017 - 09:00:53 CET