If arm.h is going to define WCHAR_TYPE, don't assume WCHAR_TYPE_SIZE

doesn't already have a definition.

Reported by:	imp
This commit is contained in:
David E. O'Brien 2008-09-10 15:47:31 +00:00
parent bf5b19279d
commit 5a33926c5b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182907

View File

@ -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