wchar_t typedefs are now wrapped in "ifndef __cplusplus"
From-SVN: r42631
This commit is contained in:
parent
65c2b30c3f
commit
4950f233fd
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue