Commit 4950f233 by Bruce Korb

wchar_t typedefs are now wrapped in "ifndef __cplusplus"

From-SVN: r42631
parent 65c2b30c
...@@ -19,10 +19,12 @@ typedef unsigned int size_t; ...@@ -19,10 +19,12 @@ typedef unsigned int size_t;
#define _GCC_PTRDIFF_T #define _GCC_PTRDIFF_T
typedef long ptrdiff_t; typedef long ptrdiff_t;
#endif #endif
#ifndef __cplusplus
#ifndef _GCC_WCHAR_T #ifndef _GCC_WCHAR_T
#define _GCC_WCHAR_T #define _GCC_WCHAR_T
typedef unsigned short wchar_t; typedef unsigned short wchar_t;
#endif #endif
#endif
#endif /* __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__ */ #endif /* __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__ */
#endif /* VXWORKS_GCC_PROBLEM_CHECK */ #endif /* VXWORKS_GCC_PROBLEM_CHECK */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment