diff --git a/intern/cycles/util/util_simd.h b/intern/cycles/util/util_simd.h index 0f65fab58b6..b6d8f3d25f0 100644 --- a/intern/cycles/util/util_simd.h +++ b/intern/cycles/util/util_simd.h @@ -67,7 +67,7 @@ __forceinline operator int ( ) const { return std::numeric_limits< #define _lzcnt_u64 __lzcnt64 #endif -#if defined(_WIN32) +#if defined(_WIN32) && !defined(__MINGW32__) __forceinline int __popcnt(int in) { return _mm_popcnt_u32(in);