Android: fix compilation error of SDL_cpuinfo.c on android-r13b (bug 4365)

This commit is contained in:
Sylvain Becker 2019-10-27 14:52:09 +01:00
parent c0255be458
commit 463bf5c2d8
1 changed files with 7 additions and 0 deletions

View File

@ -67,6 +67,13 @@
#ifndef AT_HWCAP
#define AT_HWCAP 16
#endif
#ifndef AT_PLATFORM
#define AT_PLATFORM 15
#endif
/* Prevent compilation error when including elf.h would also try to define AT_* as an enum */
#ifndef AT_NULL
#define AT_NULL 0
#endif
#ifndef HWCAP_NEON
#define HWCAP_NEON (1 << 12)
#endif