Changes to allow Win32 microcode to be compiled by the Watcom C
authorChris Hanson <org/chris-hanson/cph>
Tue, 24 Oct 1995 06:21:44 +0000 (06:21 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 24 Oct 1995 06:21:44 +0000 (06:21 +0000)
compiler.

v7/src/microcode/cmpintmd/i386.h

index 072445835fb71cdbba36d028754fff5f41f2c5e9..d65487833ffad4db7fbf9f9a5c898b643a68ee5f 100644 (file)
@@ -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
 
 /*