aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc
diff options
context:
space:
mode:
authorBruce Korb <korbb@gcc.gnu.org>2001-05-26 15:54:35 +0000
committerBruce Korb <korbb@gcc.gnu.org>2001-05-26 15:54:35 +0000
commit65c2b30c3f6ad55273c96e79584947fa957048ce (patch)
treeba544c86819e7f966a03a6e9dc47c7cb15855f31 /gcc/fixinc
parentc6db95b2fa41cc57fa8cf6eeae09293954a572ac (diff)
downloadgcc-65c2b30c3f6ad55273c96e79584947fa957048ce.zip
gcc-65c2b30c3f6ad55273c96e79584947fa957048ce.tar.gz
gcc-65c2b30c3f6ad55273c96e79584947fa957048ce.tar.bz2
wchar_t now gets wrapped inside "ifndef __cplusplus",
so we have to adjust the gnu_types fix test for that. From-SVN: r42630
Diffstat (limited to 'gcc/fixinc')
-rw-r--r--gcc/fixinc/tests/base/sys/types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/fixinc/tests/base/sys/types.h b/gcc/fixinc/tests/base/sys/types.h
index daf5c65..683b5e9 100644
--- 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 */