浏览代码

* use a farpointer on i8086 in the getintvec and setintvec generic "do nothing"
implementation to match the interface declaration in dosh.inc

git-svn-id: trunk@31888 -

nickysn 10 年之前
父节点
当前提交
7f086bb154
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      rtl/inc/dos.inc

+ 2 - 2
rtl/inc/dos.inc

@@ -151,7 +151,7 @@ end;
 
 
 {$IFNDEF HAS_GETINTVEC}
-procedure GetIntVec (IntNo: byte; var Vector: pointer);
+procedure GetIntVec (IntNo: byte; var Vector: {$ifdef cpui8086}farpointer{$else}pointer{$endif});
 begin
   Vector := nil;
 end;
@@ -159,7 +159,7 @@ end;
 
 
 {$IFNDEF HAS_SETINTVEC}
-procedure SetIntVec (IntNo: byte; Vector: pointer);
+procedure SetIntVec (IntNo: byte; Vector: {$ifdef cpui8086}farpointer{$else}pointer{$endif});
 begin
 end;
 {$ENDIF HAS_SETINTVEC}