浏览代码

Disable some code using bestrealrec if macro FPC_SOFT_FPUX80 is defined

git-svn-id: trunk@37296 -
pierre 7 年之前
父节点
当前提交
59edd81a26
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/nadd.pas

+ 1 - 1
compiler/nadd.pas

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