diff --git a/src/dsp/cpu.c b/src/dsp/cpu.c index 086da836..8754f874 100644 --- a/src/dsp/cpu.c +++ b/src/dsp/cpu.c @@ -57,7 +57,7 @@ static WEBP_INLINE uint64_t xgetbv(void) { } #elif defined(_MSC_FULL_VER) && _MSC_FULL_VER >= 160040219 // >= VS2010 SP1 #define xgetbv() _xgetbv(0) -#elif defined(_M_IX86) +#elif defined(_MSC_VER) && defined(_M_IX86) static WEBP_INLINE uint64_t xgetbv(void) { uint32_t eax_, edx_; __asm {