* ropeimpl.h: Check __STL_PTHREADS instead of _PTHREADS.
[official-gcc.git] / gcc / config / alpha / xm-vms.h
blob43ac5b62cfbffd354a060c57cb51640661e914ed
1 /* Configuration for GNU C-compiler for openVMS/Alpha.
2 Copyright (C) 1996, 1997 Free Software Foundation, Inc.
3 Contributed by Klaus Kaempf (kkaempf@progis.de).
5 This file is part of GNU CC.
7 GNU CC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
12 GNU CC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING. If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
22 /* If compiling with DECC, need to fix problem with <stdio.h>
23 which defines a macro called FILE_TYPE that breaks "tree.h".
24 Fortunately it uses #ifndef to suppress multiple inclusions.
25 Three possible cases:
26 1) <stdio.h> has already been included -- ours will be no-op;
27 2) <stdio.h> will be included after us -- "theirs" will be no-op;
28 3) <stdio.h> isn't needed -- including it here shouldn't hurt.
29 In all three cases, the problem macro will be removed here. */
31 #include <stdio.h>
32 #include <stdlib.h>
33 #include <string.h>
34 #ifdef __DECC
35 #undef FILE_TYPE
36 #endif
38 #undef HOST_BITS_PER_LONG
39 #define HOST_BITS_PER_LONG 32
41 #define HOST_WIDE_INT long long
42 #define HOST_BITS_PER_WIDE_INT 64
44 #undef SUCCESS_EXIT_CODE
45 #define SUCCESS_EXIT_CODE 1
46 #undef FATAL_EXIT_CODE
47 #define FATAL_EXIT_CODE (44 | 0x10000000) /* Abort, and no DCL message. */
49 /* A couple of conditionals for execution machine are controlled here. */
50 #ifndef VMS
51 #define VMS
52 #endif
54 #define GCC_INCLUDE_DIR ""
55 /* Specify the list of include file directories. */
56 #define INCLUDE_DEFAULTS \
57 { \
58 { "GNU_GXX_INCLUDE:", "G++", 1, 1 }, \
59 { "GNU_CC_INCLUDE:", "GCC", 0, 0 }, \
60 { ".", 0, 0, 1 }, \
61 { 0, 0, 0, 0 } \
64 /* Define a local equivalent (sort of) for unlink */
65 #define unlink remove
67 #define NEED_ATEXIT
68 #define HAVE_VPRINTF
69 #define HAVE_PUTENV
70 #define HAVE_STRERROR
72 #define NO_SYS_PARAMS_H /* Don't have <sys/params.h> */
73 #define NO_STAB_H /* Don't have <stab.h> */
74 #define USE_C_ALLOCA /* Using alloca.c */
76 #define HAVE_FCNTL_H 1
77 #define HAVE_STDLIB_H 1
78 #define HAVE_UNISTD_H 1
79 #define HAVE_STRING_H 1
80 #define HAVE_LIMITS_H 1
81 #define HAVE_STDDEF_H 1
82 #define HAVE_TIME_H 1
83 #define STDC_HEADERS 1
84 #define HAVE_CPP_STRINGIFY 1
86 #if __STDC__
87 extern void *alloca (size_t);
88 #else
89 extern char *alloca (unsigned int);
90 #endif
92 #define OBJECT_SUFFIX ".obj"
93 #define EXECUTABLE_SUFFIX ".exe"