projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65c2b30
)
wchar_t typedefs are now wrapped in "ifndef __cplusplus"
author
Bruce Korb
<korbb@gcc.gnu.org>
Sat, 26 May 2001 16:16:34 +0000
(16:16 +0000)
committer
Bruce Korb
<korbb@gcc.gnu.org>
Sat, 26 May 2001 16:16:34 +0000
(16:16 +0000)
From-SVN: r42631
gcc/fixinc/tests/base/types/vxTypesBase.h
patch
|
blob
|
history
diff --git
a/gcc/fixinc/tests/base/types/vxTypesBase.h
b/gcc/fixinc/tests/base/types/vxTypesBase.h
index 7d7a434c8f795877723db393d87c25c0bc4b0926..76a9338d97099babe6b8ef4f4b835e6db4a6d50e 100644
(file)
--- 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 */