Verified Commit b69bfb2a authored by Ralph Giles's avatar Ralph Giles
Browse files

Fix arm build with rtcd enabled.

The autotools build doesn't set OPUS_HAVE_RTCD for arm targets,
assuming all the supported intrinsics will work on the runtime

The cmake build however defines this by default when the neon
extension is available on the target. On Linux, the runtime
cpu detection reads /proc/cpuinfo, so removing stdio.h from
celt/os_support.h meant that the cmake build for arm targets

We don't currently have ci runs for that configuration, so
this only became apparent through manual testing.
Signed-off-by: default avatarMarcus Asteborg <>
Signed-off-by: Jean-Marc Valin's avatarJean-Marc Valin <>
parent b816d1da
......@@ -93,6 +93,8 @@ static OPUS_INLINE opus_uint32 opus_cpu_capabilities(void){
#elif defined(__linux__)
/* Linux based */
#include <stdio.h>
opus_uint32 opus_cpu_capabilities(void)
opus_uint32 flags = 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment