From: Chris Hanson Date: Tue, 24 Oct 1995 06:21:44 +0000 (+0000) Subject: Changes to allow Win32 microcode to be compiled by the Watcom C X-Git-Tag: 20090517-FFI~5869 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=bf00577df5723ae99b406874c5e7d8b7b3c65871;p=mit-scheme.git Changes to allow Win32 microcode to be compiled by the Watcom C compiler. --- diff --git a/v7/src/microcode/cmpintmd/i386.h b/v7/src/microcode/cmpintmd/i386.h index 072445835..d65487833 100644 --- a/v7/src/microcode/cmpintmd/i386.h +++ b/v7/src/microcode/cmpintmd/i386.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: i386.h,v 1.28 1995/10/15 00:40:18 cph Exp $ +$Id: i386.h,v 1.29 1995/10/24 06:21:44 cph Exp $ Copyright (c) 1992-95 Massachusetts Institute of Technology @@ -54,8 +54,12 @@ MIT in each case. */ #if defined(_OS2) && (defined(__IBMC__) || defined(__WATCOMC__)) #define ASM_ENTRY_POINT(name) (_System name) #else +#if defined(WINNT) && defined(__WATCOMC__) +#define ASM_ENTRY_POINT(name) (__cdecl name) +#else #define ASM_ENTRY_POINT(name) name #endif +#endif /*