Skip to content

Commit

Permalink
Merge pull request #7 from mingtaoy/libaegis-android-17
Browse files Browse the repository at this point in the history
Undef HAVE_GETAUXVAL under old Android API versions
  • Loading branch information
jedisct1 authored Mar 19, 2024
2 parents 5caead7 + 2344e83 commit 40c35e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/common/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
# define HAVE_GETAUXVAL
#endif
#ifdef __ANDROID_API__
# if __ANDROID_API__ < 18
# undef HAVE_GETAUXVAL
# endif
# define HAVE_ANDROID_GETCPUFEATURES
#endif
#if defined(__i386__) || defined(__x86_64__)
Expand Down

0 comments on commit 40c35e6

Please sign in to comment.