diff options
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/x86/intmath.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libavutil/x86/intmath.h b/libavutil/x86/intmath.h index d504079893..0022737735 100644 --- a/libavutil/x86/intmath.h +++ b/libavutil/x86/intmath.h @@ -22,8 +22,12 @@ #define AVUTIL_X86_INTMATH_H #include <stdint.h> -#if HAVE_FAST_CLZ && (defined(__INTEL_COMPILER) || defined(_MSC_VER)) -#include <immintrin.h> +#if HAVE_FAST_CLZ +#if defined(_MSC_VER) +#include <intrin.h> +#elif defined(__INTEL_COMPILER) +#include <x86intrin.h> +#endif #endif #include "config.h" |