From 7491bac33e0a14718e698a971b5bae79c9ac59ee Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 15 Nov 2012 16:01:54 -0500 Subject: [PATCH] ppc wchar_t is long, not int --- arch/powerpc/bits/alltypes.h.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/bits/alltypes.h.sh b/arch/powerpc/bits/alltypes.h.sh index 9fa6fab2..9b616772 100755 --- a/arch/powerpc/bits/alltypes.h.sh +++ b/arch/powerpc/bits/alltypes.h.sh @@ -22,7 +22,7 @@ TYPEDEF long ptrdiff_t; TYPEDEF __builtin_va_list va_list; #ifndef __cplusplus -TYPEDEF int wchar_t; +TYPEDEF long wchar_t; #endif TYPEDEF int wint_t; TYPEDEF long wctrans_t; -- 2.25.1