diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-11 16:52:47 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-11 16:52:47 +0000 |
commit | 2baac35187a10af6476e379630115b88b0827eb7 (patch) | |
tree | e180a2c0612e82e69dd834569c293bbbca8e9a14 /gcc/config/vxworks-dummy.h | |
parent | 90af1361e9fa1a9d6c2353d2e5d8c4a33e05e2bf (diff) | |
download | gcc-2baac35187a10af6476e379630115b88b0827eb7.tar.gz |
gcc/
* config/vxworks-dummy.h (TARGET_VXWORKS): Define.
* config/vxworks.h (TARGET_VXWORKS): Override.
* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Don't define
"mips" if TARGET_VXWORKS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127361 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/vxworks-dummy.h')
-rw-r--r-- | gcc/config/vxworks-dummy.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/vxworks-dummy.h b/gcc/config/vxworks-dummy.h index 8c3d7d1287d..f310d0808d3 100644 --- a/gcc/config/vxworks-dummy.h +++ b/gcc/config/vxworks-dummy.h @@ -17,6 +17,11 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ +/* True if we're targetting VxWorks. */ +#ifndef TARGET_VXWORKS +#define TARGET_VXWORKS 0 +#endif + /* True if generating code for a VxWorks RTP. */ #ifndef TARGET_VXWORKS_RTP #define TARGET_VXWORKS_RTP false |