From 2d424b9fa3649ae525111276faedba8bbadf6c92 Mon Sep 17 00:00:00 2001 From: Douglas B Rupp Date: Fri, 12 Apr 2002 15:56:00 -0400 Subject: [PATCH] * config/i386/i386-interix.h (CPP_PREDEFINES): Handle __declspec. From-SVN: r52239 --- gcc/ChangeLog | 1 + gcc/config/i386/i386-interix.h | 1 + 2 files changed, 2 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f4d6018cb01..356c20f6845 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -3,6 +3,7 @@ * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define. (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define. (DEFAULT_PCC_STRUCT_RETURN): Define as 0. + (CPP_PREDEFINES): Handle __declspec. * config/i386/t-interix (USER_H): Remove. 2002-04-12 DJ Delorie diff --git a/gcc/config/i386/i386-interix.h b/gcc/config/i386/i386-interix.h index 2b703f3beda..40fc36e66e1 100644 --- a/gcc/config/i386/i386-interix.h +++ b/gcc/config/i386/i386-interix.h @@ -61,6 +61,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 -- 2.30.2