浏览代码

* names of cdecl'ed exports on linux fixed

git-svn-id: trunk@1233 -
florian 20 年之前
父节点
当前提交
158c6f72b7
共有 1 个文件被更改,包括 1 次插入1 次删除
  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