avutil/x86/intmath: Correct intrinsic headers for older compilers.

Signed-off-by: Matt Oliver <protogonoi@gmail.com>
This commit is contained in:
Matt Oliver 2015-11-09 21:40:33 +11:00
parent 0cfd4a993f
commit f984174512
1 changed files with 6 additions and 2 deletions

View File

@ -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"