Skip to content
Snippets Groups Projects

arm: Use /proc/cpuinfo on linux if getauxval is unavailable

Merged Martin Storsjö requested to merge mstorsjo/dav1d:arm-linux-cpuinfo into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -158,7 +158,7 @@ COLD unsigned dav1d_get_cpu_flags_arm(void) {
return flags;
}
#elif defined(__ANDROID__)
#elif defined(__ANDROID__) || defined(__linux__)
#include <ctype.h>
#include <stdio.h>
#include <string.h>
Loading