From 35690321a72348b8c45bdaa1618d98ad7e628b80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Thu, 5 Mar 2009 21:20:13 +0000 Subject: ARM: disable inline asm for armcc Originally committed as revision 17831 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavutil/internal.h') diff --git a/libavutil/internal.h b/libavutil/internal.h index f5f769e..4191aa8 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -134,7 +134,7 @@ extern const uint32_t ff_inverse[256]; );\ ret;\ }) -#elif HAVE_ARMV6 +#elif HAVE_ARMV6 && HAVE_INLINE_ASM static inline av_const int FASTDIV(int a, int b) { int r, t; @@ -145,7 +145,7 @@ static inline av_const int FASTDIV(int a, int b) : "=&r"(r), "=&r"(t) : "r"(a), "r"(b), "r"(ff_inverse)); return r; } -#elif ARCH_ARM +#elif ARCH_ARM && HAVE_INLINE_ASM static inline av_const int FASTDIV(int a, int b) { int r, t; -- cgit v1.1