From 03eb6861cfd16615fa181ec278443c7fbde8f513 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 8 Nov 2015 11:02:57 -0500 Subject: midipix targes: add convenience built-in definitions. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information. --- gcc/config/i386/midipix.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gcc/config/i386/midipix.h b/gcc/config/i386/midipix.h index 52ac9eaae..e622c3224 100644 --- a/gcc/config/i386/midipix.h +++ b/gcc/config/i386/midipix.h @@ -432,6 +432,14 @@ static inline void midipix_target_os_cpp_builtins(void) builtin_define_std("__PE__"); builtin_define_std("__PE_VISIBILITY__"); builtin_define_std("__midipix__"); + + builtin_define_std("__dllexport=__attribute__((__dllexport__))"); + builtin_define_std("__dllimport=__attribute__((__dllimport__))"); + + builtin_define_std("__cdecl=__attribute__((__cdecl__))"); + builtin_define_std("__stdcall=__attribute__((__stdcall__))"); + builtin_define_std("__fastcall=__attribute__((__fastcall__))"); + midipix_extra_os_cpp_builtins(); } -- cgit v1.2.3