OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [config/] [vax/] [openbsd.h] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* Configuration fragment for a VAX OpenBSD target.
2
   Copyright (C) 2000, 2002 Free Software Foundation, Inc.
3
 
4
This file is part of GCC.
5
 
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.
10
 
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.
15
 
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, 51 Franklin Street, Fifth Floor,
19
Boston, MA 02110-1301, USA.  */
20
 
21
/* Amend common OpenBSD definitions for VAX target.  */
22
 
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)
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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.