Ensure VxWorks headers expose C99 features for C++
authorOlivier Hainque <hainque@adacore.com>
Sat, 11 Dec 2021 08:46:08 +0000 (08:46 +0000)
committerOlivier Hainque <hainque@adacore.com>
Mon, 13 Dec 2021 13:54:11 +0000 (13:54 +0000)
commitb80e6d97a9e2425f2a8b97a436335e0abf9105db
tree7bc5599c89a7b799ca97a4c005f7788c37ab54a1
parentf3f923e51391d279adace7ae24260d87e94b1108
Ensure VxWorks headers expose C99 features for C++

C++ relies on C99 features since C++11 and libstdc++ down to c++98
checks for C99 features at configure time. Simpler is to request C99
features from system headers unconditionally.

2021-12-11  Olivier Hainque  <hainque@adacore.com>

* config/vxworks.h (VXWORKS_OS_CPP_BUILTINS): Define
_C99 for C++.
gcc/config/vxworks.h