wchar_t typedefs are now wrapped in "ifndef __cplusplus"
authorBruce Korb <korbb@gcc.gnu.org>
Sat, 26 May 2001 16:16:34 +0000 (16:16 +0000)
committerBruce Korb <korbb@gcc.gnu.org>
Sat, 26 May 2001 16:16:34 +0000 (16:16 +0000)
From-SVN: r42631

gcc/fixinc/tests/base/types/vxTypesBase.h

index 7d7a434c8f795877723db393d87c25c0bc4b0926..76a9338d97099babe6b8ef4f4b835e6db4a6d50e 100644 (file)
@@ -19,10 +19,12 @@ typedef unsigned int size_t;
 #define _GCC_PTRDIFF_T
 typedef long ptrdiff_t;
 #endif
+#ifndef __cplusplus
 #ifndef _GCC_WCHAR_T
 #define _GCC_WCHAR_T
 typedef unsigned short wchar_t;
 #endif
+#endif
 #endif /* __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__ */
 
 #endif  /* VXWORKS_GCC_PROBLEM_CHECK */