* softfpu is included in the system unit if necessary

git-svn-id: trunk@4936 -
This commit is contained in:
florian 2006-10-15 21:28:17 +00:00
parent 5f3a3bc051
commit 7bef6e592c

View File

@ -24,6 +24,11 @@ interface
{$I systemh.inc} {$I systemh.inc}
{$define fpc_softfpu_interface}
{$i softfpu.pp}
{$undef fpc_softfpu_interface}
const const
LineEnding = #10; LineEnding = #10;
LFNSupport = true; LFNSupport = true;
@ -55,6 +60,23 @@ var
implementation implementation
{$define fpc_softfpu_implementation}
{$i softfpu.pp}
{$undef fpc_softfpu_implementation}
{ we get these functions and types from the softfpu code }
{$define FPC_SYSTEM_HAS_float64}
{$define FPC_SYSTEM_HAS_float32}
{$define FPC_SYSTEM_HAS_flag}
{$define FPC_SYSTEM_HAS_extractFloat64Frac0}
{$define FPC_SYSTEM_HAS_extractFloat64Frac1}
{$define FPC_SYSTEM_HAS_extractFloat64Exp}
{$define FPC_SYSTEM_HAS_extractFloat64Frac}
{$define FPC_SYSTEM_HAS_extractFloat64Sign}
{$define FPC_SYSTEM_HAS_ExtractFloat32Frac}
{$define FPC_SYSTEM_HAS_extractFloat32Exp}
{$define FPC_SYSTEM_HAS_extractFloat32Sign}
{$I system.inc} {$I system.inc}
{$i gbabios.inc} {$i gbabios.inc}