From: Chris Hanson Date: Sun, 15 Oct 1995 00:35:36 +0000 (+0000) Subject: Fix conditionalizations to support EMX/GCC and Watcom C/C++ under X-Git-Tag: 20090517-FFI~5892 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=982accb98fd986985a458daa0ca7ba79d0576c8b;p=mit-scheme.git Fix conditionalizations to support EMX/GCC and Watcom C/C++ under OS/2. --- diff --git a/v7/src/microcode/bchdmp.c b/v7/src/microcode/bchdmp.c index 490baa658..b88310654 100644 --- a/v7/src/microcode/bchdmp.c +++ b/v7/src/microcode/bchdmp.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: bchdmp.c,v 9.80 1995/10/09 05:52:16 cph Exp $ +$Id: bchdmp.c,v 9.81 1995/10/15 00:35:36 cph Exp $ Copyright (c) 1987-95 Massachusetts Institute of Technology @@ -95,13 +95,20 @@ static char FASDUMP_FILENAME[] = "\\tmp\\faXXXXXX"; #endif /* WINNT */ #ifdef _OS2 + #include "os2.h" +#define FASDUMP_FILENAME_DEFINED +static char FASDUMP_FILENAME[] = "\\tmp\\faXXXXXX"; + +#ifdef __EMX__ +#include +#endif + +#if defined(__IBMC__) || defined(__WATCOMC__) -#if defined(__IBMC__) || defined(__EMX__) #include #include #include -#endif #ifndef F_OK #define F_OK 0 @@ -142,8 +149,7 @@ DEFUN (mktemp, (fname), unsigned char * fname) return ((char *) fname); } -#define FASDUMP_FILENAME_DEFINED -static char FASDUMP_FILENAME[] = "\\tmp\\faXXXXXX"; +#endif /* __IBMC__ or __WATCOMC__ */ #endif /* _OS2 */ #ifndef FASDUMP_FILENAME_DEFINED