aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ScalarTest.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-12-05 21:47:25 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-12-05 21:47:25 +0000
commit61873a59d7f7e2a3ef58af6efe594eb8228a86ec (patch)
treec12337ad8a0eedaa605291a74b1494f2b2c228d9 /tests/ScalarTest.cpp
parentd230e3e532dbb0df39453375f9918608d1e71b54 (diff)
add sk_float_isfinite to mask platform differences
git-svn-id: http://skia.googlecode.com/svn/trunk@2803 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/ScalarTest.cpp')
-rw-r--r--tests/ScalarTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ScalarTest.cpp b/tests/ScalarTest.cpp
index 2848516b97..6c2df73199 100644
--- a/tests/ScalarTest.cpp
+++ b/tests/ScalarTest.cpp
@@ -20,7 +20,7 @@ static bool isFinite_int(float x) {
}
static bool isFinite_float(float x) {
- return isfinite(x);
+ return sk_float_isfinite(x);
}
static bool isFinite_mulzero(float x) {