2008-01-25 Douglas Gregor <doug.gregor@gmail.com>
[official-gcc.git] / gcc / config / vax / ultrix.h
blobbf6b44bf2a41ca1ac252b8a7715462a6146080e6
1 /* Output variables, constants and external declarations, for GNU compiler.
2 Copyright (C) 1999, 2002, 2007 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 3, 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 COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
21 #define TARGET_OS_CPP_BUILTINS() \
22 do \
23 { \
24 builtin_define_std ("unix"); \
25 builtin_define_std ("ultrix"); \
26 builtin_define_std ("bsd4_2"); \
27 builtin_assert ("system=unix"); \
28 builtin_assert ("system=bsd"); \
30 builtin_define_std ("vax"); \
31 if (TARGET_G_FLOAT) \
32 builtin_define_std ("GFLOAT"); \
33 } \
34 while (0)
36 /* These are as defined in /usr/include/sys/stdtypes.h.
37 These values are for ultrix 4.2 on the VAX. */
38 #define SIZE_TYPE "unsigned int"
39 #define PTRDIFF_TYPE "int"
40 #define WCHAR_TYPE "unsigned int"
41 #define WCHAR_TYPE_SIZE 32