OSDN Git Service

wchar_t typedefs are now wrapped in "ifndef __cplusplus"
authorkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 May 2001 16:16:34 +0000 (16:16 +0000)
committerkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 May 2001 16:16:34 +0000 (16:16 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42631 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 7d7a434..76a9338 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 */