浏览代码

* define the i8086 default calling convention separately from the other x86 architectures

git-svn-id: branches/i8086@24272 -
nickysn 12 年之前
父节点
当前提交
51d61cc593
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      compiler/globtype.pas

+ 3 - 1
compiler/globtype.pas

@@ -490,7 +490,9 @@ interface
          );
 
        { Default calling convention }
-{$ifdef x86}
+{$if defined(i8086)}
+       pocall_default = pocall_register;
+{$elseif defined(i386) or defined(x86_64)}
        pocall_default = pocall_register;
 {$else}
        pocall_default = pocall_stdcall;