diff options
author | hainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-05 12:18:10 +0000 |
---|---|---|
committer | hainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-05 12:18:10 +0000 |
commit | b88a91b52da9aa8b982c0fbeef3f7d11b10a1b9f (patch) | |
tree | 4c9e4f9168a50e525e9775d7c849cda4274c4555 /gcc/config/vxworksae.h | |
parent | 90674129ffefb295d123b954ace320161b5eb6d7 (diff) | |
download | gcc-b88a91b52da9aa8b982c0fbeef3f7d11b10a1b9f.tar.gz |
* config/vxworksae.h: Add missing VXWORKS_OS_CPP_BUILTINS.
* config/rs6000/vxworks.h: Remove redundant CPP builtin definitions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164988 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/vxworksae.h')
-rw-r--r-- | gcc/config/vxworksae.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config/vxworksae.h b/gcc/config/vxworksae.h index a093eda1d9f..d29b465eda0 100644 --- a/gcc/config/vxworksae.h +++ b/gcc/config/vxworksae.h @@ -55,3 +55,13 @@ along with GCC; see the file COPYING3. If not see #define VXWORKS_STARTFILE_SPEC "" #define VXWORKS_KIND VXWORKS_KIND_AE + +/* A VxWorks 653 implementation of TARGET_OS_CPP_BUILTINS. */ +#define VXWORKS_OS_CPP_BUILTINS() \ + do \ + { \ + builtin_define ("__vxworks"); \ + builtin_define ("__VXWORKS__"); \ + } \ + while (0) + |