Procházet zdrojové kódy

* 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 před 10 roky
rodič
revize
cfd4252ec3
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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