Index: tests/FlateTest.cpp |
diff --git a/tests/FlateTest.cpp b/tests/FlateTest.cpp |
index 9f6a5b5f432c7ecc8bdd9cb9db1af79d54060eed..8ad4d50376e86ca9d6a8e72f00288e04fb84ae61 100644 |
--- a/tests/FlateTest.cpp |
+++ b/tests/FlateTest.cpp |
@@ -104,7 +104,7 @@ static void TestFlate(skiatest::Reporter* reporter, SkMemoryStream* testStream, |
} |
DEF_TEST(Flate, reporter) { |
-#ifdef SK_HAS_ZLIB |
+#ifndef SK_NO_FLATE |
REPORTER_ASSERT(reporter, SkFlate::HaveFlate()); |
#endif |
if (SkFlate::HaveFlate()) { |