This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Another Interix tweak
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 12 Apr 02 15:53:30 EDT
- Subject: Another Interix tweak
2002-04-12 Douglas B Rupp <rupp@gnat.com>
* config/i386/i386-interix.h (CPP_PREDEFINES): Handle __declspec.
--- config/i386/i386-interix.h.orig Wed Feb 13 18:54:54 2002
+++ config/i386/i386-interix.h Thu Feb 14 14:46:17 2002
@@ -67,6 +71,7 @@ Boston, MA 02111-1307, USA. */
-D_M_IX86=300 -D_X86_=1 \
-D__stdcall=__attribute__((__stdcall__)) \
-D__cdecl=__attribute__((__cdecl__)) \
+ -D__declspec(x)=__attribute__((x)) \
-Asystem=unix -Asystem=interix"
#undef CPP_SPEC