diff options
author | thorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-12 00:02:07 +0000 |
---|---|---|
committer | thorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-12 00:02:07 +0000 |
commit | b31ef245ca7b79dd3d0836a52b0816ef95f907c6 (patch) | |
tree | df987459df2d6942684c12f97f5c4b2aa2bcc5b8 /gcc/config/vax/ultrix.h | |
parent | 68504d99d4471574628d4e3eb4724f421e20762f (diff) | |
download | gcc-b31ef245ca7b79dd3d0836a52b0816ef95f907c6.tar.gz |
* config.gcc (vax-*-bsd*): Add vax/bsd.h to ${tm_file}.
* config/vax/bsd.h: New file.
* config/vax/netbsd.h: Add missing notice.
(CPP_PREDEFINES): Remove.
(TARGET_OS_CPP_BUILTINS): Define.
(CPP_SPEC): Use NETBSD_CPP_SPEC.
* config/vax/openbsd.h: Update copyright years.
(CPP_PREDEFINES): Remove.
(TARGET_OS_CPP_BUILTINS): Define.
* config/vax/ultrix.h: Likewise.
* config/vax/vaxv.h: Likewise.
* config/vax/vms.h: Likewise.
* config/vax/vax.h (TARGET_CPU_CPP_BUILTINS): Define.
(CPP_PREDEFINES, CPP_SPEC): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54538 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/vax/ultrix.h')
-rw-r--r-- | gcc/config/vax/ultrix.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/gcc/config/vax/ultrix.h b/gcc/config/vax/ultrix.h index 0be135c4c4d..f8ade575737 100644 --- a/gcc/config/vax/ultrix.h +++ b/gcc/config/vax/ultrix.h @@ -1,5 +1,5 @@ /* Output variables, constants and external declarations, for GNU compiler. - Copyright (C) 1999 Free Software Foundation, Inc. + Copyright (C) 1999, 2002 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,8 +18,21 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#undef CPP_PREDEFINES -#define CPP_PREDEFINES " -Dvax -Dunix -Dultrix -Dbsd4_2 -D__vax -D__unix -D__ultrix -D__bsd4_2 -Asystem=unix -Asystem=bsd -Acpu=vax -Amachine=vax" + +#define TARGET_OS_CPP_BUILTINS() \ + do \ + { \ + builtin_define_std ("unix"); \ + builtin_define_std ("ultrix"); \ + builtin_define_std ("bsd4_2"); \ + builtin_assert ("system=unix"); \ + builtin_assert ("system=bsd"); \ + \ + builtin_define_std ("vax"); \ + if (TARGET_G_FLOAT) \ + builtin_define_std ("GFLOAT"); \ + } \ + while (0) /* These are as defined in /usr/include/sys/stdtypes.h. These values are for ultrix 4.2 on the VAX. */ |