]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/vax/openbsd.h
Make-lang.in: Change copyright header to refer to version 3 of the GNU General Public...
[thirdparty/gcc.git] / gcc / config / vax / openbsd.h
CommitLineData
8aeea6e6 1/* Configuration fragment for a VAX OpenBSD target.
169274cd 2 Copyright (C) 2000, 2002 Free Software Foundation, Inc.
97f2b269 3
e7d9d16b 4This file is part of GCC.
97f2b269 5
e7d9d16b 6GCC is free software; you can redistribute it and/or modify
97f2b269
ME
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
e7d9d16b 11GCC is distributed in the hope that it will be useful,
97f2b269
ME
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
e7d9d16b 17along with GCC; see the file COPYING. If not, write to
39d14dda
KC
18the Free Software Foundation, 51 Franklin Street, Fifth Floor,
19Boston, MA 02110-1301, USA. */
97f2b269 20
8aeea6e6 21/* Amend common OpenBSD definitions for VAX target. */
97f2b269 22
169274cd
JT
23#define TARGET_OS_CPP_BUILTINS() \
24 do \
25 { \
26 builtin_define ("__unix__"); \
27 builtin_define ("__OpenBSD__"); \
28 builtin_assert ("system=unix"); \
29 builtin_assert ("system=OpenBSD"); \
30 } \
31 while (0)
97f2b269
ME
32
33/* Layout of source language data types. */
34
35/* This must agree with <machine/ansi.h> */
36#undef SIZE_TYPE
37#define SIZE_TYPE "unsigned int"
38
39#undef PTRDIFF_TYPE
40#define PTRDIFF_TYPE "int"
41
42#undef WCHAR_TYPE
43#define WCHAR_TYPE "int"
44
45#undef WCHAR_TYPE_SIZE
46#define WCHAR_TYPE_SIZE 32