diff --git a/include/core/SkPreConfig.h b/include/core/SkPreConfig.h index 1f83c143f5..923d9650de 100644 --- a/include/core/SkPreConfig.h +++ b/include/core/SkPreConfig.h @@ -44,7 +44,7 @@ ////////////////////////////////////////////////////////////////////// -#ifdef SK_BUILD_FOR_WIN +#if defined(SK_BUILD_FOR_WIN) && !defined(__clang__) #if !defined(SK_RESTRICT) #define SK_RESTRICT __restrict #endif