(CPP_PREDEFINES): Add definitions for __stdcall and __cdecl.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 1 Apr 1995 14:44:35 +0000 (09:44 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 1 Apr 1995 14:44:35 +0000 (09:44 -0500)
From-SVN: r9284

gcc/config/i386/win-nt.h

index 2959821..e44a501 100644 (file)
@@ -69,7 +69,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
 #undef CPP_PREDEFINES
 #endif
 #define CPP_PREDEFINES "-Dunix -Di386 -DWIN32 -D_WIN32 \
-  -DWINNT -D_M_IX86=300 -D_X86_=1 -DALMOST_STDC -D_MSC_VER=800\
+  -DWINNT -D_M_IX86=300 -D_X86_=1 -D__STDC__=0 -DALMOST_STDC -D_MSC_VER=800 \
+  -D__stdcall=__attribute__((stdcall)) -D__cdecl=__attribute__((cdecl)) \
   -Asystem(unix) -Asystem(winnt) -Acpu(i386) -Amachine(i386)"
 
 #define SIZE_TYPE "unsigned int"