Browse Source

* the dummy fpc_InitializeUnits and fpc_do_exit procedures are only defined if system unit is compiled
without -dFULL_RTL

git-svn-id: branches/z80@45063 -

nickysn 5 years ago
parent
commit
0b73bfa3ab
1 changed files with 10 additions and 10 deletions
  1. 10 10
      rtl/zxspectrum/system.pp

+ 10 - 10
rtl/zxspectrum/system.pp

@@ -186,6 +186,16 @@ end;
 
 
 {$else FULL_RTL}
 {$else FULL_RTL}
 {$I z80.inc}
 {$I z80.inc}
+
+procedure fpc_InitializeUnits;[public,alias:'FPC_INITIALIZEUNITS']; compilerproc;
+begin
+end;
+
+Procedure fpc_do_exit;[Public,Alias:'FPC_DO_EXIT']; compilerproc;
+begin
+  repeat
+  until false;
+end;
 {$endif FULL_RTL}
 {$endif FULL_RTL}
 
 
 var
 var
@@ -205,16 +215,6 @@ begin
   KeyPressed:=LastKey<>#0;
   KeyPressed:=LastKey<>#0;
 end;
 end;
 
 
-procedure fpc_InitializeUnits;[public,alias:'FPC_INITIALIZEUNITS']; compilerproc;
-begin
-end;
-
-Procedure fpc_do_exit;[Public,Alias:'FPC_DO_EXIT']; compilerproc;
-begin
-  repeat
-  until false;
-end;
-
 procedure OpenChannel(Chan: Byte);
 procedure OpenChannel(Chan: Byte);
 begin
 begin
   asm
   asm