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