summaryrefslogtreecommitdiff
path: root/gcc/config/vxworks.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2007-08-11 16:52:47 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-08-11 16:52:47 +0000
commita7f051fe0bc3638c7f289b8d34e022cbb7f8228d (patch)
treee180a2c0612e82e69dd834569c293bbbca8e9a14 /gcc/config/vxworks.h
parent3fb300196dd0d2ff04eddf6c53f825699fd6720a (diff)
downloadgcc-a7f051fe0bc3638c7f289b8d34e022cbb7f8228d.tar.gz
vxworks-dummy.h (TARGET_VXWORKS): Define.
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. From-SVN: r127361
Diffstat (limited to 'gcc/config/vxworks.h')
-rw-r--r--gcc/config/vxworks.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/vxworks.h b/gcc/config/vxworks.h
index 64ff2200ccf..322260d863a 100644
--- a/gcc/config/vxworks.h
+++ b/gcc/config/vxworks.h
@@ -20,6 +20,10 @@ 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/>. */
+/* Assert that we are targetting VxWorks. */
+#undef TARGET_VXWORKS
+#define TARGET_VXWORKS 1
+
/* In kernel mode, VxWorks provides all the libraries itself, as well as
the functionality of startup files, etc. In RTP mode, it behaves more
like a traditional Unix, with more external files. Most of our specs