mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 11:02:44 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182907
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user