瀏覽代碼

* set the po_far flag by default in far code memory models

git-svn-id: trunk@24846 -
nickysn 12 年之前
父節點
當前提交
b5c032874f
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      compiler/symdef.pas

+ 4 - 0
compiler/symdef.pas

@@ -3870,6 +3870,10 @@ implementation
          proctypeoption:=potype_none;
          proccalloption:=pocall_none;
          procoptions:=[];
+{$ifdef i8086}
+         if current_settings.x86memorymodel in x86_far_code_models then
+           procoptions:=procoptions+[po_far];
+{$endif i8086}
          returndef:=voidtype;
          savesize:=sizeof(pint);
          callerargareasize:=0;