Browse Source

* fixed bug, caused by an incorrect order of ifdefs, which caused the system
unit of the embedded target to not compile on CPUs, not using the softfpu
implementation

git-svn-id: trunk@34005 -

nickysn 9 năm trước cách đây
mục cha
commit
c639bf3900
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      rtl/embedded/system.pp

+ 1 - 1
rtl/embedded/system.pp

@@ -177,7 +177,6 @@ const calculated_cmdline:Pchar=nil;
 {$define fpc_softfpu_implementation}
 {$i softfpu.pp}
 {$undef fpc_softfpu_implementation}
-{$endif FPUNONE}
 
 { we get these functions and types from the softfpu code }
 {$define FPC_SYSTEM_HAS_float64}
@@ -193,6 +192,7 @@ const calculated_cmdline:Pchar=nil;
 {$define FPC_SYSTEM_HAS_extractFloat32Sign}
 
 {$endif FPC_HAS_FEATURE_SOFTFPU}
+{$endif FPUNONE}
 
 {$I system.inc}