[ANDROID] Use TERMUX Define Instead ANDROID (#1093)

This commit is contained in:
Lily 2023-11-27 19:38:02 +03:00 committed by GitHub
parent 436de1c4f5
commit cbceca3b35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -206,6 +206,9 @@ endif()
if(ANDROID)
add_definitions(-DANDROID)
endif()
if(TERMUX)
add_definitions(-DTERMUX)
endif()
if(BAD_SIGNAL)
add_definitions(-DBAD_SIGNAL)
endif()

View File

@ -45,7 +45,7 @@ const char* DumpSection(Elf64_Shdr *s, char* SST) {
GO(SHT_GNU_ATTRIBUTES);
GO(SHT_GNU_HASH);
GO(SHT_GNU_LIBLIST);
#ifndef ANDROID
#ifndef TERMUX
GO(SHT_CHECKSUM);
#endif
GO(SHT_LOSUNW);