aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPostConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkPostConfig.h')
-rw-r--r--include/core/SkPostConfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
index 8dcc18c04e..3a39f66c8f 100644
--- a/include/core/SkPostConfig.h
+++ b/include/core/SkPostConfig.h
@@ -245,7 +245,7 @@
//////////////////////////////////////////////////////////////////////
#if !defined(SK_UNUSED)
-# if defined(_MSC_VER)
+# if !defined(__clang__) && defined(_MSC_VER)
# define SK_UNUSED __pragma(warning(suppress:4189))
# else
# define SK_UNUSED SK_ATTRIBUTE(unused)