mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-26 21:09:26 +02:00
m68k-amiga: only compile softfpu code into system unit, when FPU_SOFT is defined
git-svn-id: trunk@33670 -
This commit is contained in:
parent
2dbfca4e8e
commit
7fff76d936
@ -25,11 +25,11 @@ interface
|
||||
{$I systemh.inc}
|
||||
{$I osdebugh.inc}
|
||||
|
||||
{$ifdef cpum68k}
|
||||
{$if defined(cpum68k) and defined(fpu_soft)}
|
||||
{$define fpc_softfpu_interface}
|
||||
{$i softfpu.pp}
|
||||
{$undef fpc_softfpu_interface}
|
||||
{$endif cpum68k}
|
||||
{$endif defined(cpum68k) and defined(fpu_soft)}
|
||||
|
||||
const
|
||||
LineEnding = #10;
|
||||
@ -94,7 +94,8 @@ var
|
||||
|
||||
implementation
|
||||
|
||||
{$ifdef cpum68k}
|
||||
{$if defined(cpum68k) and defined(fpu_soft)}
|
||||
|
||||
{$define fpc_softfpu_implementation}
|
||||
{$i softfpu.pp}
|
||||
{$undef fpc_softfpu_implementation}
|
||||
@ -110,7 +111,7 @@ implementation
|
||||
{$define FPC_SYSTEM_HAS_ExtractFloat32Frac}
|
||||
{$define FPC_SYSTEM_HAS_extractFloat32Exp}
|
||||
{$define FPC_SYSTEM_HAS_extractFloat32Sign}
|
||||
{$endif cpum68k}
|
||||
{$endif defined(cpum68k) and defined(fpu_soft)}
|
||||
|
||||
{$I system.inc}
|
||||
{$I osdebug.inc}
|
||||
|
Loading…
Reference in New Issue
Block a user