浏览代码

* avoid duplicated do_exit when FULL_RTL is defined

git-svn-id: branches/i8086@23861 -
nickysn 12 年之前
父节点
当前提交
8cb0f96200
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      rtl/msdos/system.pp

+ 2 - 0
rtl/msdos/system.pp

@@ -77,6 +77,7 @@ procedure fpc_Initialize_Units;[public,alias:'FPC_INITIALIZEUNITS']; compilerpro
 begin
 end;
 
+{$ifndef FULL_RTL}
 procedure do_exit;[Public,Alias:'FPC_DO_EXIT'];
 begin
   asm
@@ -84,6 +85,7 @@ begin
     int 21h
   end;
 end;
+{$endif not FULL_RTL}
 
 procedure DebugWrite(const S: string);
 begin