diff options
author | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-26 15:54:35 +0000 |
---|---|---|
committer | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-26 15:54:35 +0000 |
commit | dd45e919803f2cea08cad5e5d26c5fd98514d171 (patch) | |
tree | ba544c86819e7f966a03a6e9dc47c7cb15855f31 /gcc/fixinc | |
parent | 6d615bc5e966deab6ec2700bed243696ea0e31a8 (diff) | |
download | gcc-dd45e919803f2cea08cad5e5d26c5fd98514d171.tar.gz |
wchar_t now gets wrapped inside "ifndef __cplusplus",
so we have to adjust the gnu_types fix test for that.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42630 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc')
-rw-r--r-- | gcc/fixinc/tests/base/sys/types.h | 4 |
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 daf5c659fe0..683b5e93ecd 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 */ |