* EMX should be treated the same way as OS/2 with regard to cdecl (the same C compiler is used)

git-svn-id: trunk@29660 -
This commit is contained in:
Tomas Hajny 2015-02-09 22:52:06 +00:00
parent 4b91e50c7c
commit cfd4252ec3

View File

@ -303,7 +303,8 @@ unit cpupara;
{ on darwin/i386, if a record has only one field and that field is a
single or double, it has to be returned like a single/double }
if (target_info.system in [system_i386_darwin,system_i386_iphonesim,
system_i386_freebsd,system_i386_openbsd,system_i386_os2]) and
system_i386_freebsd,system_i386_openbsd,
system_i386_os2,system_i386_emx]) and
((usedef.typ=recorddef) or
is_object(usedef)) and
tabstractrecordsymtable(tabstractrecorddef(usedef).symtable).has_single_field(sym) and