Browse Source

Disable some code using bestrealrec if macro FPC_SOFT_FPUX80 is defined

git-svn-id: trunk@37296 -
pierre 7 years ago
parent
commit
59edd81a26
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/nadd.pas

+ 1 - 1
compiler/nadd.pas

@@ -698,7 +698,7 @@ implementation
              result:=t;
              exit;
           end;
-{$if FPC_FULLVERSION>20700}
+{$if (FPC_FULLVERSION>20700) and not defined(FPC_SOFT_FPUX80)}
         { bestrealrec is 2.7.1+ only }
 
         { replace .../const by a multiplication, but only if fastmath is enabled or