summaryrefslogtreecommitdiff
path: root/libavcodec/mips/mathops.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/mips/mathops.h')
-rw-r--r--libavcodec/mips/mathops.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/mips/mathops.h b/libavcodec/mips/mathops.h
index a1b04ed951..b58361f74d 100644
--- a/libavcodec/mips/mathops.h
+++ b/libavcodec/mips/mathops.h
@@ -25,6 +25,8 @@
#include "config.h"
#include "libavutil/common.h"
+#if HAVE_INLINE_ASM
+
#if HAVE_LOONGSON
static inline av_const int64_t MAC64(int64_t d, int a, int b)
@@ -73,4 +75,6 @@ static inline av_const int64_t MLS64(int64_t d, int a, int b)
#endif
+#endif /* HAVE_INLINE_ASM */
+
#endif /* AVCODEC_MIPS_MATHOPS_H */