blob: 46df32c7cc8f5195004f61ac8a3d941622235df8 [file] [log] [blame]
/* This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
Under Section 7 of GPL version 3, you are granted additional
permissions described in the GCC Runtime Library Exception, version
3.1, as published by the Free Software Foundation.
You should have received a copy of the GNU General Public License and
a copy of the GCC Runtime Library Exception along with this program;
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
#ifndef _VXWORKS_PREDEF_H
#define _VXWORKS_PREDEF_H 1
#define __STDC_IEC_559__ 1
#define __STDC_IEC_559_COMPLEX__ 1
/* Define the value of the following macro to match the value
that the OS actually defines it as. */
#define __STDC_ISO_10646__ 200009L
/* If we have a designated VSB configuration file, fetch the associated
auto configuration header from which we can infer the TOOL and TOOL_FAMILY
that other system headers expect. */
#if defined(_VSB_CONFIG_FILE)
#undef TOOL
#undef TOOL_FAMILY
#include <config/autoconf.h>
#if defined(_WRS_CONFIG_PRI_llvm)
#define TOOL_FAMILY llvm
#elif defined(_WRS_CONFIG_PRI_gnu)
#define TOOL_FAMILY gnu
#endif
#define TOOL TOOL_FAMILY
#endif /* _VSB_CONFIG_FILE */
#endif