mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
cpuinfo: more patching for Android. Legacy platform targets are a pain.
This commit is contained in:
parent
a298e56349
commit
0b33a1188b
@ -51,7 +51,13 @@
|
||||
#endif
|
||||
|
||||
#if (defined(__LINUX__) || defined(__ANDROID__)) && defined(__ARM_ARCH)
|
||||
#include <asm/hwcap.h>
|
||||
/*#include <asm/hwcap.h>*/
|
||||
#ifndef AT_HWCAP
|
||||
#define AT_HWCAP 16
|
||||
#endif
|
||||
#ifndef HWCAP_NEON
|
||||
#define HWCAP_NEON (1 << 12)
|
||||
#endif
|
||||
#if defined HAVE_GETAUXVAL
|
||||
#include <sys/auxv.h>
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user