mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-11 22:38:01 +00:00
Respect Android API availability in the ARM64 interpreter symbol table
This commit is contained in:
1 parent
ba07843efb
commit
bbcf3e4895
2 files changed
+25
-4
No files matched your search
@@ -0,0 +1,14 @@
|
||||
--- a/cbits/symbols.aarch64-android.c
|
||||
+++ b/cbits/symbols.aarch64-android.c
|
||||
@@ -171,8 +171,11 @@
|
||||
SYM(htonl),
|
||||
SYM(ntohl),
|
||||
// sys/random.h
|
||||
+ // These public Bionic APIs are declared only from API level 28.
|
||||
+#if __ANDROID_API__ >= 28
|
||||
SYM(getentropy),
|
||||
SYM(getrandom),
|
||||
+#endif
|
||||
// sys/auxv.h
|
||||
SYM(getauxval),
|
||||
// sys/mman.h
|
||||
Reference in new issue
Block a user