From 8123e0901fc7faa3d7dcf80af9ed0d874f8e7a06 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Fri, 22 Jun 2012 18:46:52 +0100 Subject: x86: place some inline asm under #if HAVE_INLINE_ASM Signed-off-by: Mans Rullgard --- libavcodec/x86/mathops.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/x86/mathops.h') diff --git a/libavcodec/x86/mathops.h b/libavcodec/x86/mathops.h index 50b0283151..e056eb0a2d 100644 --- a/libavcodec/x86/mathops.h +++ b/libavcodec/x86/mathops.h @@ -25,6 +25,8 @@ #include "config.h" #include "libavutil/common.h" +#if HAVE_INLINE_ASM + #if ARCH_X86_32 #define MULL MULL @@ -118,4 +120,5 @@ static inline uint32_t NEG_USR32(uint32_t a, int8_t s){ return a; } +#endif /* HAVE_INLINE_ASM */ #endif /* AVCODEC_X86_MATHOPS_H */ -- cgit v1.2.1