* config/i386/i386-interix.h (CPP_PREDEFINES): Handle __declspec.

From-SVN: r52238
This commit is contained in:
Douglas B Rupp 2002-04-12 15:52:34 -04:00 committed by Richard Kenner
parent a838068c1f
commit 967e577354
2 changed files with 2 additions and 0 deletions

View File

@ -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 <dj@redhat.com>

View File

@ -65,6 +65,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