xref: /openbsd-src/gnu/usr.bin/gcc/gcc/config/vax/ultrix.h (revision c87b03e512fc05ed6e0222f6fb0ae86264b1d05b)
1 /* Output variables, constants and external declarations, for GNU compiler.
2    Copyright (C) 1999, 2002 Free Software Foundation, Inc.
3 
4 This file is part of GNU CC.
5 
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10 
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15 
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING.  If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.  */
20 
21 
22 #define TARGET_OS_CPP_BUILTINS()		\
23   do						\
24     {						\
25       builtin_define_std ("unix");		\
26       builtin_define_std ("ultrix");		\
27       builtin_define_std ("bsd4_2");		\
28       builtin_assert ("system=unix");		\
29       builtin_assert ("system=bsd");		\
30 						\
31       builtin_define_std ("vax");		\
32       if (TARGET_G_FLOAT)			\
33 	builtin_define_std ("GFLOAT");		\
34     }						\
35   while (0)
36 
37 /* These are as defined in /usr/include/sys/stdtypes.h.
38    These values are for ultrix 4.2 on the VAX.  */
39 #define SIZE_TYPE "unsigned int"
40 #define PTRDIFF_TYPE "int"
41 #define WCHAR_TYPE "unsigned int"
42 #define WCHAR_TYPE_SIZE 32
43