Browse Source

* Define FPC_SYSTEM_HAS_FLOAT32/64 in softfpu unit

git-svn-id: trunk@17701 -
pierre 14 years ago
parent
commit
144d4c41f2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      rtl/inc/softfpu.pp

+ 4 - 0
rtl/inc/softfpu.pp

@@ -96,6 +96,7 @@ Software IEC/IEEE floating-point types.
 }
 TYPE
   float32 = longword;
+{$define FPC_SYSTEM_HAS_float32}
   { we use here a record in the function header because
     the record allows bitwise conversion to single }
   float32rec = record
@@ -165,6 +166,9 @@ TYPE
   end;
 {$endif}
 
+{$define FPC_SYSTEM_HAS_float64}
+
+
 {*
 -------------------------------------------------------------------------------
 Returns 1 if the double-precision floating-point value `a' is less than