From bf00577df5723ae99b406874c5e7d8b7b3c65871 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Tue, 24 Oct 1995 06:21:44 +0000 Subject: [PATCH] Changes to allow Win32 microcode to be compiled by the Watcom C compiler. --- v7/src/microcode/cmpintmd/i386.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 /* -- 2.25.1