import of gcc-2.8
[official-gcc.git] / gcc / config / i386 / xm-os2.h
blobf74bee5ebb2298a2d7352dec442879e4839ddf1a
1 /* Configuration for GNU compiler
2 for an Intel i386 or later processor running OS/2 2.x.
3 Copyright (C) 1993, 1994, 1995, 1997 Free Software Foundation, Inc.
4 Contributed by Samuel Figueroa (figueroa@apple.com)
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)
11 any later version.
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 #ifndef OS2
24 #define OS2
25 #endif
27 #ifdef __IBMC__
28 #include <stdlib.h> /* this defines alloca */
29 #define USG
30 #define ONLY_INT_FIELDS
31 #define USE_PROTOTYPES 1
32 #define strcasecmp stricmp
33 #define kill(a,b) raise(b)
34 #define mktemp tmpnam
35 #else
36 #define ____386BSD____
37 int spawnv (int modeflag, char *path, char *argv[]);
38 int spawnvp (int modeflag, char *path, char *argv[]);
39 #endif /* __IBMC__ */
41 #ifndef PATH_SEPARATOR
42 #define PATH_SEPARATOR ';'
43 #endif
44 #ifndef DIR_SEPARATOR
45 #define DIR_SEPARATOR '\\'
46 #endif
48 #define EXECUTABLE_SUFFIX ".exe"
49 #define OBJECT_SUFFIX ".obj"
51 #include "i386/xm-i386.h"