diff options
author | Alexandre Oliva <oliva@adacore.com> | 2019-12-30 21:34:35 +0000 |
---|---|---|
committer | Olivier Hainque <hainque@gcc.gnu.org> | 2019-12-30 21:34:35 +0000 |
commit | 1361ae0e7647cbf4b77f917835c4d4aecba3e533 (patch) | |
tree | 7c9e9d0fdbb8143a6b7f96fae688fd9d2a83ff89 /gcc/config.gcc | |
parent | 4e6bcaa6622f03a709bf0472ffda2f2bd2e17682 (diff) | |
download | gcc-1361ae0e7647cbf4b77f917835c4d4aecba3e533.zip gcc-1361ae0e7647cbf4b77f917835c4d4aecba3e533.tar.gz gcc-1361ae0e7647cbf4b77f917835c4d4aecba3e533.tar.bz2 |
Refine definitions for wchar_t/wint_t on VxWorks
This change refines the VxWorks macro definitions configuring
wchar_t to accommodate the VxWorks7 environment, where wchar_t
is now typically a 32bit type.
We also ensure that the definitions for wint_t are always based
on those for wchar_t, so the two remain in sync in environments
where WCHAR_TYPE is redefined for a specific CPU architecture.
2019-12-30 Alexandre Oliva <oliva@adacore.com>
Olivier Hainque <hainque@adacore.com>
* config/vx-common.h (WCHAR_TYPE_SIZE): 32 on VxWorks 7.
(WCHAR_TYPE): Pick accordingly.
(WINT_TYPE_SIZE): Define in terms of WCHAR_TYPE_SIZE.
(WINT_TYPE): Define in terms of WCHAR_TYPE.
Co-Authored-By: Olivier Hainque <hainque@adacore.com>
From-SVN: r279780
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions