aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-04-01 09:44:35 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-04-01 09:44:35 -0500
commit4660a9df1dafc9e8c1a32b082ec95c225e7b01de (patch)
treeaf84ac85dc32c4cd0473a8b66f69863727a3006a /gcc
parent783e5bca056b3c86c4b6d2cab5b806569e690873 (diff)
downloadgcc-4660a9df1dafc9e8c1a32b082ec95c225e7b01de.zip
gcc-4660a9df1dafc9e8c1a32b082ec95c225e7b01de.tar.gz
gcc-4660a9df1dafc9e8c1a32b082ec95c225e7b01de.tar.bz2
(CPP_PREDEFINES): Add definitions for __stdcall and __cdecl.
From-SVN: r9284
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/win-nt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/i386/win-nt.h b/gcc/config/i386/win-nt.h
index 2959821..e44a501 100644
--- a/gcc/config/i386/win-nt.h
+++ b/gcc/config/i386/win-nt.h
@@ -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"