From 5a33926c5b487c290860a5722a84045ece852164 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Wed, 10 Sep 2008 15:47:31 +0000 Subject: [PATCH] If arm.h is going to define WCHAR_TYPE, don't assume WCHAR_TYPE_SIZE doesn't already have a definition. Reported by: imp --- contrib/gcc/config/arm/arm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/gcc/config/arm/arm.h b/contrib/gcc/config/arm/arm.h index 784142cfb77c..20a869f5ea63 100644 --- a/contrib/gcc/config/arm/arm.h +++ b/contrib/gcc/config/arm/arm.h @@ -507,7 +507,7 @@ extern int arm_structure_size_boundary; /* wchar_t is unsigned under the AAPCS. */ #ifndef WCHAR_TYPE #define WCHAR_TYPE (TARGET_AAPCS_BASED ? "unsigned int" : "int") - +#undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE BITS_PER_WORD #endif