diff --git a/third_party/libyuv/source/scale.c b/third_party/libyuv/source/scale.c index c142a17bb48d7f4683d6abc99575c99bee9efb67..72a817d2591c5150ee56cdd716d433222d97bb2c 100644 --- a/third_party/libyuv/source/scale.c +++ b/third_party/libyuv/source/scale.c @@ -632,7 +632,7 @@ TALIGN16(const uint16, scaleab2[8]) = { 65536 / 3, 65536 / 3, 65536 / 2, 65536 / 3, 65536 / 3, 65536 / 2, 0, 0 }; #endif -#if defined(_M_IX86) && !defined(YUV_DISABLE_ASM) +#if defined(_M_IX86) && !defined(YUV_DISABLE_ASM) && defined(_MSC_VER) #define HAS_SCALEROWDOWN2_SSE2 // Reads 32 pixels, throws half away and writes 16 pixels.