Index: tests/PathTest.cpp |
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp |
index 9de5f816616f774a834bc3919caf9ae7464f32fe..5bc3d95b6f4b33b5529c76a759a11420935179ac 100644 |
--- a/tests/PathTest.cpp |
+++ b/tests/PathTest.cpp |
@@ -180,7 +180,7 @@ static void test_path_to_region(skiatest::Reporter* reporter) { |
} |
} |
-#if defined(WIN32) |
+#ifdef SK_BUILD_FOR_WIN |
#define SUPPRESS_VISIBILITY_WARNING |
#else |
#define SUPPRESS_VISIBILITY_WARNING __attribute__((visibility("hidden"))) |