Browse Source

* use NaN = 0.0/0.0 for wince.

git-svn-id: trunk@4105 -
yury 19 years ago
parent
commit
350bc3f626
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/objpas/math.pp

+ 1 - 1
rtl/objpas/math.pp

@@ -116,7 +116,7 @@ interface
 {$define OverflowCheckWasOn}
 {$define OverflowCheckWasOn}
 {$Q-}
 {$Q-}
 {$endif opt Q+}
 {$endif opt Q+}
-{$ifdef CPUARM}
+{$if defined(CPUARM) and defined(unix)}
        { the ARM linux emulator doesn't like 0.0/0.0 }
        { the ARM linux emulator doesn't like 0.0/0.0 }
        NaN = ln(-1.0);
        NaN = ln(-1.0);
 {$else CPUARM}
 {$else CPUARM}