changeset 9141:489def16f0c7 libavcodec

ARM: disable inline asm for armcc
author mru
date Thu, 05 Mar 2009 21:20:13 +0000
parents 322fa07fd397
children 8b977d664424
files arm/mathops.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/arm/mathops.h	Thu Mar 05 07:35:06 2009 +0000
+++ b/arm/mathops.h	Thu Mar 05 21:20:13 2009 +0000
@@ -25,6 +25,8 @@
 #include <stdint.h>
 #include "libavutil/common.h"
 
+#if HAVE_INLINE_ASM
+
 #   define MULL MULL
 static inline av_const int MULL(int a, int b, unsigned shift)
 {
@@ -108,4 +110,6 @@
     return m;
 }
 
+#endif /* HAVE_INLINE_ASM */
+
 #endif /* AVCODEC_ARM_MATHOPS_H */