2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / config / vax / ultrix.h
blob845707a882536c40f77f95245219b7179cc7af91
1 /* Output variables, constants and external declarations, for GNU compiler.
2 Copyright (C) 1999, 2002 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC 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.
11 GCC 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.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING. If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
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"); \
31 builtin_define_std ("vax"); \
32 if (TARGET_G_FLOAT) \
33 builtin_define_std ("GFLOAT"); \
34 } \
35 while (0)
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