1 /* This file is part of GCC. 2 3 GCC is free software; you can redistribute it and/or modify it under 4 the terms of the GNU General Public License as published by the Free 5 Software Foundation; either version 3, or (at your option) any later 6 version. 7 8 GCC is distributed in the hope that it will be useful, but WITHOUT ANY 9 WARRANTY; without even the implied warranty of MERCHANTABILITY or 10 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 11 for more details. 12 13 Under Section 7 of GPL version 3, you are granted additional 14 permissions described in the GCC Runtime Library Exception, version 15 3.1, as published by the Free Software Foundation. 16 17 You should have received a copy of the GNU General Public License and 18 a copy of the GCC Runtime Library Exception along with this program; 19 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 20 <http://www.gnu.org/licenses/>. */ 21 22 #ifndef __GCC_YVALS_H 23 #define __GCC_YVALS_H 24 25 #include <_vxworks-versions.h> 26 27 #if _VXWORKS_MAJOR_GE(7) 28 29 /* We need to deactivate the definitions tailored for the Dinkumware 30 intrinsics, incompatible with a compilation by G++. */ 31 32 #include <yvals.h> 33 34 #undef _HAS_CPP17 35 #define _HAS_CPP17 0 36 37 #undef _HAS_CPP14 38 #define _HAS_CPP14 0 39 40 #undef _HAS_CPP11 41 #define _HAS_CPP11 0 42 43 #endif /* VxWorks MAJOR >= 7 */ 44 45 #endif /* __GCC_YVALS_H */ 46