summaryrefslogtreecommitdiff
path: root/third_party/libyuv/source/rotate_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libyuv/source/rotate_win.cc')
-rw-r--r--third_party/libyuv/source/rotate_win.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/third_party/libyuv/source/rotate_win.cc b/third_party/libyuv/source/rotate_win.cc
index 1300fc0fe..2760066df 100644
--- a/third_party/libyuv/source/rotate_win.cc
+++ b/third_party/libyuv/source/rotate_win.cc
@@ -16,8 +16,9 @@ namespace libyuv {
extern "C" {
#endif
-// This module is for 32 bit Visual C x86 and clangcl
-#if !defined(LIBYUV_DISABLE_X86) && defined(_M_IX86)
+// This module is for Visual C x86.
+#if !defined(LIBYUV_DISABLE_X86) && defined(_M_IX86) && \
+ defined(_MSC_VER) && !defined(__clang__)
__declspec(naked)
void TransposeWx8_SSSE3(const uint8* src, int src_stride,