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:
parent
bf5b19279d
commit
5a33926c5b
@ -507,7 +507,7 @@ extern int arm_structure_size_boundary;
|
|||||||
/* wchar_t is unsigned under the AAPCS. */
|
/* wchar_t is unsigned under the AAPCS. */
|
||||||
#ifndef WCHAR_TYPE
|
#ifndef WCHAR_TYPE
|
||||||
#define WCHAR_TYPE (TARGET_AAPCS_BASED ? "unsigned int" : "int")
|
#define WCHAR_TYPE (TARGET_AAPCS_BASED ? "unsigned int" : "int")
|
||||||
|
#undef WCHAR_TYPE_SIZE
|
||||||
#define WCHAR_TYPE_SIZE BITS_PER_WORD
|
#define WCHAR_TYPE_SIZE BITS_PER_WORD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user