Browse Source

* 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 -
Tomas Hajny 10 years ago
parent
commit
cfd4252ec3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/i386/cpupara.pas

+ 2 - 1
compiler/i386/cpupara.pas

@@ -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