diff options
author | Matt Oliver <protogonoi@gmail.com> | 2015-11-09 21:40:33 +1100 |
---|---|---|
committer | Matt Oliver <protogonoi@gmail.com> | 2015-11-09 21:40:33 +1100 |
commit | f98417451291a3ff6719d739b5e904e0b7bf404b (patch) | |
tree | 212c6dd1fa4347d3a4ec5d01504ac8610cce5bbc | |
parent | 0cfd4a993f30785219c958e2ac9fea75a687ab34 (diff) | |
download | ffmpeg-f98417451291a3ff6719d739b5e904e0b7bf404b.tar.gz |
avutil/x86/intmath: Correct intrinsic headers for older compilers.
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
-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" |