From 415e76a76091d06a3eeb4087c378bfa76947bc58 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Tue, 15 May 2012 14:32:42 +0000 Subject: fix Fixed build git-svn-id: http://skia.googlecode.com/svn/trunk@3937 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/ScalarTest.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/ScalarTest.cpp') diff --git a/tests/ScalarTest.cpp b/tests/ScalarTest.cpp index 524d775549..c56641d7ba 100644 --- a/tests/ScalarTest.cpp +++ b/tests/ScalarTest.cpp @@ -21,6 +21,7 @@ struct PointSet { }; static void test_isRectFinite(skiatest::Reporter* reporter) { +#ifdef SK_SCALAR_IS_FLOAT static const SkPoint gF0[] = { { 0, 0 }, { 1, 1 } }; @@ -61,6 +62,7 @@ static void test_isRectFinite(skiatest::Reporter* reporter) { bool rectIsFinite = !r.isEmpty(); REPORTER_ASSERT(reporter, gSets[i].fIsFinite == rectIsFinite); } +#endif } static bool isFinite_int(float x) { -- cgit v1.2.3