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, 1998, 1999 Free Software Foundation, Inc. 4 Contributed by Samuel Figueroa (figueroa@apple.com) 5 6This file is part of GNU CC. 7 8GNU CC is free software; you can redistribute it and/or modify 9it under the terms of the GNU General Public License as published by 10the Free Software Foundation; either version 2, or (at your option) 11any later version. 12 13GNU CC is distributed in the hope that it will be useful, 14but WITHOUT ANY WARRANTY; without even the implied warranty of 15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16GNU General Public License for more details. 17 18You should have received a copy of the GNU General Public License 19along with GNU CC; see the file COPYING. If not, write to 20the Free Software Foundation, 59 Temple Place - Suite 330, 21Boston, MA 02111-1307, USA. */ 22 23#ifndef OS2 24#define OS2 25#endif 26 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#ifdef __EMX__ 37#define EMX 38#define USG 39#define BSTRING 40#define HAVE_PUTENV 41#define HAVE_VPRINTF 42#define HAVE_STRERROR 43#define strcasecmp stricmp 44#else 45#define ____386BSD____ 46int spawnv (int modeflag, char *path, char *argv[]); 47int spawnvp (int modeflag, char *path, char *argv[]); 48#endif /* __EMX__ */ 49#endif /* __IBMC__ */ 50 51#ifndef PATH_SEPARATOR 52#define PATH_SEPARATOR ';' 53#endif 54#ifndef DIR_SEPARATOR 55#define DIR_SEPARATOR '\\' 56#endif 57#ifndef DIR_SEPARATOR_2 58#define DIR_SEPARATOR_2 '/' 59#endif 60 61/* Allow handling of drive names. */ 62#define HAVE_DOS_BASED_FILE_SYSTEM 63 64#define EXECUTABLE_SUFFIX ".exe" 65 66/* The EMX compiler uses regular .o files */ 67#ifndef __EMX__ 68#define OBJECT_SUFFIX ".obj" 69#endif 70 71/* This is required to make temporary file names unique on file 72 systems which severely restrict the length of file names. */ 73#define MKTEMP_EACH_FILE 74 75#include "i386/xm-i386.h" 76