From f98417451291a3ff6719d739b5e904e0b7bf404b Mon Sep 17 00:00:00 2001 From: Matt Oliver Date: Mon, 9 Nov 2015 21:40:33 +1100 Subject: [PATCH] avutil/x86/intmath: Correct intrinsic headers for older compilers. Signed-off-by: Matt Oliver --- libavutil/x86/intmath.h | 8 ++++++-- 1 file 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 -#if HAVE_FAST_CLZ && (defined(__INTEL_COMPILER) || defined(_MSC_VER)) -#include +#if HAVE_FAST_CLZ +#if defined(_MSC_VER) +#include +#elif defined(__INTEL_COMPILER) +#include +#endif #endif #include "config.h"