Browse Source

* names of cdecl'ed exports on linux fixed

git-svn-id: trunk@1233 -
florian 20 years ago
parent
commit
158c6f72b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/pdecsub.pas

+ 1 - 1
compiler/pdecsub.pas

@@ -1985,7 +1985,7 @@ const
           end;
           end;
 
 
         { Public/exported alias names }
         { 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
            not(po_has_public_name in pd.procoptions) then
           begin
           begin
             case pd.proccalloption of
             case pd.proccalloption of