summaryrefslogtreecommitdiffstats
path: root/testing/chromium/chromium-c99math.patch
blob: 37ed224c6205db74ae2d2ede143023940a30a6c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- chromium-13.0.754.0.orig/base/float_util.h
+++ chromium-13.0.754.0/base/float_util.h
@@ -19,7 +19,7 @@
 
 inline bool IsFinite(const double& number) {
 #if defined(OS_POSIX)
-  return finite(number) != 0;
+  return isfinite(number) != 0;
 #elif defined(OS_WIN)
   return _finite(number) != 0;
 #endif