This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]