diff options
-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 */ |