wchar_t typedefs are now wrapped in "ifndef __cplusplus"

From-SVN: r42631
This commit is contained in:
Bruce Korb 2001-05-26 16:16:34 +00:00
parent 65c2b30c3f
commit 4950f233fd
1 changed files with 2 additions and 0 deletions

View 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 */