summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libopus/celt/cpu_support.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/libopus/celt/cpu_support.h')
-rw-r--r--lib/rbcodec/codecs/libopus/celt/cpu_support.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/rbcodec/codecs/libopus/celt/cpu_support.h b/lib/rbcodec/codecs/libopus/celt/cpu_support.h
index 41481fe..d68dbe6 100644
--- a/lib/rbcodec/codecs/libopus/celt/cpu_support.h
+++ b/lib/rbcodec/codecs/libopus/celt/cpu_support.h
@@ -28,7 +28,10 @@
#ifndef CPU_SUPPORT_H
#define CPU_SUPPORT_H
-#if defined(OPUS_HAVE_RTCD) && defined(ARMv4_ASM)
+#include "opus_types.h"
+#include "opus_defines.h"
+
+#if defined(OPUS_HAVE_RTCD) && defined(OPUS_ARM_ASM)
#include "arm/armcpu.h"
/* We currently support 4 ARM variants:
@@ -42,7 +45,7 @@
#else
#define OPUS_ARCHMASK 0
-static inline int opus_select_arch(void)
+static OPUS_INLINE int opus_select_arch(void)
{
return 0;
}