projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6db95b
)
wchar_t now gets wrapped inside "ifndef __cplusplus",
author
Bruce Korb
<korbb@gcc.gnu.org>
Sat, 26 May 2001 15:54:35 +0000
(15:54 +0000)
committer
Bruce Korb
<korbb@gcc.gnu.org>
Sat, 26 May 2001 15:54:35 +0000
(15:54 +0000)
so we have to adjust the gnu_types fix test for that.
From-SVN: r42630
gcc/fixinc/tests/base/sys/types.h
patch
|
blob
|
history
diff --git
a/gcc/fixinc/tests/base/sys/types.h
b/gcc/fixinc/tests/base/sys/types.h
index daf5c659fe0eca45ba5821ea50973ad5d04044ef..683b5e93ecd0025cfef13d1339e5c3c2ad66e62c 100644
(file)
--- a/
gcc/fixinc/tests/base/sys/types.h
+++ b/
gcc/fixinc/tests/base/sys/types.h
@@
-20,9
+20,11
@@
typedef __PTRDIFF_TYPE__ ptrdiff_t;
typedef __SIZE_TYPE__ size_t;
#endif
/* uint_t */
+#ifndef __cplusplus
#if !defined(_GCC_WCHAR_T) && ! defined(__cplusplus)
#define _GCC_WCHAR_T
typedef __WCHAR_TYPE__ wchar_t;
#endif
- /* ushort_t */
+
+#endif /* ushort_t */
#endif /* GNU_TYPES_CHECK */