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).
6 This file is part of GNU CC.
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)
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.
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. */
23 #include <i386/xm-i386.h>
25 /* Arguments to use with `exit'. */
27 #define SUCCESS_EXIT_CODE 0
28 #define FATAL_EXIT_CODE 33
30 /* Include <sys/wait.h> to define the exit status access macros. */
35 #define ONLY_INT_FIELDS
37 /* use ANSI/SYSV style byte manipulation routines instead of BSD ones */
40 #define bcopy(s,d,n) memmove((d),(s),(n))
42 #define bzero(d,n) memset((d),0,(n))
44 #define bcmp(l,r,n) memcmp((l),(r),(n))
48 #define rindex strrchr
50 /* BeOS is closer to USG than BSD */
54 /* Define various things that the BeOS host has. */
64 #define STDC_HEADERS 1