# HG changeset patch # User mru # Date 1236288013 0 # Node ID 361d5a76087d4167a9ddc1ed02b9c69c6b6d568d # Parent d27f2ec2810b48a906ac27f7437d997ae668775a ARM: disable inline asm for armcc diff -r d27f2ec2810b -r 361d5a76087d internal.h --- a/internal.h Thu Mar 05 21:20:10 2009 +0000 +++ b/internal.h Thu Mar 05 21:20:13 2009 +0000 @@ -134,7 +134,7 @@ );\ 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 @@ : "=&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;