OSDN Git Service

2000-12-29 Robert Lipe <robertl@sco.com>
[pf3gnuchains/gcc-fork.git] / gcc / config / i386 / xm-beos.h
1 /* Configuration for GNU C-compiler for BeOS host.
2    Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
3    Contributed by Fred Fish (fnf@cygnus.com), based on xm-rs6000.h
4    by Richard Kenner (kenner@vlsi1.ultra.nyu.edu).
5
6 This file is part of GNU CC.
7
8 GNU CC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12
13 GNU CC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GNU CC; see the file COPYING.  If not, write to
20 the Free Software Foundation, 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA.  */
22
23 #include <i386/xm-i386.h>
24
25 /* Arguments to use with `exit'.  */
26
27 #define SUCCESS_EXIT_CODE       0
28 #define FATAL_EXIT_CODE         33
29
30 /* Include <sys/wait.h> to define the exit status access macros.  */
31 #ifndef inhibit_libc
32 #include <sys/wait.h>
33 #endif
34
35 #define ONLY_INT_FIELDS
36
37 /* use ANSI/SYSV style byte manipulation routines instead of BSD ones */
38
39 #undef bcopy
40 #define bcopy(s,d,n)    memmove((d),(s),(n))
41
42 /* BeOS is closer to USG than BSD */
43
44 #define USG
45
46 /* Define various things that the BeOS host has. */
47
48 #ifndef HAVE_VPRINTF
49 #define HAVE_VPRINTF
50 #endif
51 #ifndef HAVE_PUTENV
52 #define HAVE_PUTENV
53 #endif
54 #define HAVE_RENAME
55
56 #define STDC_HEADERS 1