From: Bruce Korb Date: Sat, 26 May 2001 16:16:34 +0000 (+0000) Subject: wchar_t typedefs are now wrapped in "ifndef __cplusplus" X-Git-Tag: prereleases/libstdc++-3.0.95~4165 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4950f233fd97b311aa8ab10fb288b8153e3f7543;p=thirdparty%2Fgcc.git wchar_t typedefs are now wrapped in "ifndef __cplusplus" From-SVN: r42631 --- diff --git a/gcc/fixinc/tests/base/types/vxTypesBase.h b/gcc/fixinc/tests/base/types/vxTypesBase.h index 7d7a434c8f79..76a9338d9709 100644 --- a/gcc/fixinc/tests/base/types/vxTypesBase.h +++ b/gcc/fixinc/tests/base/types/vxTypesBase.h @@ -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 */