ppc wchar_t is long, not int
authorRich Felker <dalias@aerifal.cx>
Thu, 15 Nov 2012 21:01:54 +0000 (16:01 -0500)
committerRich Felker <dalias@aerifal.cx>
Thu, 15 Nov 2012 21:01:54 +0000 (16:01 -0500)
arch/powerpc/bits/alltypes.h.sh

index 9fa6fab2d70e12bedac40acf1987d47e8de936b5..9b61677289bf19bf4740e826f3010ef8d9ede8d2 100755 (executable)
@@ -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;