Skip to content

Commit

Permalink
Android: fix compilation error of SDL_cpuinfo.c on android-r13b (bug …
Browse files Browse the repository at this point in the history
…4365)
  • Loading branch information
1bsyl committed Oct 27, 2019
1 parent c0255be commit 463bf5c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/cpuinfo/SDL_cpuinfo.c
Expand Up @@ -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
Expand Down

0 comments on commit 463bf5c

Please sign in to comment.