Index: tests/ClipStackTest.cpp |
diff --git a/tests/ClipStackTest.cpp b/tests/ClipStackTest.cpp |
index a18d1efe06656e6d2dbcfd8f43ea59b28225d410..c2ad21b24d9f26ebba6f3bae0a3f789accfe0ae8 100644 |
--- a/tests/ClipStackTest.cpp |
+++ b/tests/ClipStackTest.cpp |
@@ -1011,7 +1011,7 @@ static void test_reduced_clip_stack(skiatest::Reporter* reporter) { |
} |
} |
-#if defined(WIN32) |
+#ifdef SK_BUILD_FOR_WIN |
#define SUPPRESS_VISIBILITY_WARNING |
#else |
#define SUPPRESS_VISIBILITY_WARNING __attribute__((visibility("hidden"))) |