]> gcc.gnu.org Git - gcc.git/blame - gcc/config/convex/xm-convex.h
(P_tmpdir): Add definition.
[gcc.git] / gcc / config / convex / xm-convex.h
CommitLineData
2859e6f0
BK
1/* Configuration for GNU C-compiler for Convex.
2 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
3
4This file is part of GNU CC.
5
6GNU CC is free software; you can redistribute it and/or modify
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
11GNU CC is distributed in the hope that it will be useful,
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
17along with GNU CC; see the file COPYING. If not, write to
18the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19
20/* #defines that need visibility everywhere. */
21#define FALSE 0
22#define TRUE 1
23
24/* target machine dependencies.
25 tm.h is a symbolic link to the actual target specific file. */
26#include "tm.h"
27
28/* This describes the machine the compiler is hosted on. */
29#define HOST_BITS_PER_CHAR 8
30#define HOST_BITS_PER_SHORT 16
31#define HOST_BITS_PER_INT 32
32#define HOST_BITS_PER_LONG 32
33#define HOST_BITS_PER_LONGLONG 64
34
35/* Arguments to use with `exit'. */
36#define SUCCESS_EXIT_CODE 0
37#define FATAL_EXIT_CODE 33
38
39/* If compiled with GNU C, use the built-in alloca */
40#ifdef __GNUC__
41#define alloca __builtin_alloca
42#endif
43
44#ifdef _POSIX_SOURCE
45
9155df2b
BK
46/* Convex ships /tmp as a separate file system - thus it
47 usually has more free space than /usr/tmp */
48
49#define P_tmpdir "/tmp/"
50
2859e6f0
BK
51/* Un-hide names hidden in Posix include files. */
52
53#define S_IFMT _S_IFMT
54#define S_IFREG _S_IFREG
55
56#else
57
58/* This definition is to prevent 8.0 include files from declaring prototypes.
59 Those include files ANSIfied, but the prototypes sometimes do not match.
60 There is no effect on pre-8.0 OS versions. */
61
62#ifndef _PROTO
63#define _PROTO(X) ()
64#endif
65
66#endif /* _POSIX_SOURCE */
This page took 0.034905 seconds and 5 git commands to generate.