summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/midipix.h8
1 files changed, 8 insertions, 0 deletions
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();
}