Browse Source

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

git-svn-id: trunk@24846 -
nickysn 12 years ago
parent
commit
b5c032874f
1 changed files with 4 additions and 0 deletions
  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;