projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
783e5bc
)
(CPP_PREDEFINES): Add definitions for __stdcall and __cdecl.
author
Richard Kenner
<kenner@gcc.gnu.org>
Sat, 1 Apr 1995 14:44:35 +0000
(09:44 -0500)
committer
Richard 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
patch
|
blob
|
history
diff --git
a/gcc/config/i386/win-nt.h
b/gcc/config/i386/win-nt.h
index 2959821f550cf02c072ea02d0e4d352d096714bd..e44a501d3d8a97468beb937f03603292e540e9ce 100644
(file)
--- 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"