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