OSDN Git Service

Change callers in config/[h-l]*/ to match:
[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 #undef bzero
42 #define bzero(d,n)      memset((d),0,(n))
43 #undef bcmp
44 #define bcmp(l,r,n)     memcmp((l),(r),(n))
45 #undef index
46 #define index           strchr
47 #undef rindex
48 #define rindex          strrchr
49
50 /* BeOS is closer to USG than BSD */
51
52 #define USG
53
54 /* Define various things that the BeOS host has. */
55
56 #ifndef HAVE_VPRINTF
57 #define HAVE_VPRINTF
58 #endif
59 #ifndef HAVE_PUTENV
60 #define HAVE_PUTENV
61 #endif
62 #define HAVE_RENAME
63
64 #define STDC_HEADERS 1