about summary refs log tree commit diff
path: root/arch/arm/bits
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/bits')
-rwxr-xr-xarch/arm/bits/alltypes.h.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/bits/alltypes.h.sh b/arch/arm/bits/alltypes.h.sh
index 11f1d93f..af73e664 100755
--- a/arch/arm/bits/alltypes.h.sh
+++ b/arch/arm/bits/alltypes.h.sh
@@ -22,7 +22,9 @@ TYPEDEF long ptrdiff_t;
 
 TYPEDEF __builtin_va_list va_list;
 
+#ifndef __cplusplus
 TYPEDEF unsigned wchar_t;
+#endif
 TYPEDEF int wint_t;
 TYPEDEF long wctrans_t;
 TYPEDEF long wctype_t;