Sfoglia il codice sorgente

Merged revisions 1233 via svnmerge from
http://svn.freepascal.org/svn/fpc/trunk

r1233 (florian)
* names of cdecl'ed exports on linux fixed

git-svn-id: branches/fixes_2_0@1238 -

florian 20 anni fa
parent
commit
c2d6f7a636
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      compiler/pdecsub.pas

+ 1 - 1
compiler/pdecsub.pas

@@ -1985,7 +1985,7 @@ const
           end;
 
         { Public/exported alias names }
-        if (po_public in pd.procoptions) and
+        if (([po_public,po_exports]*pd.procoptions)<>[]) and
            not(po_has_public_name in pd.procoptions) then
           begin
             case pd.proccalloption of