Build on API 21 headers

This commit is contained in:
topjohnwu
2021-10-20 03:17:42 -07:00
parent 62e464f706
commit 770b28ca30
38 changed files with 115 additions and 142 deletions

View File

@@ -1,3 +1,11 @@
// Force using legacy_signal_inlines.h
#define __ANDROID_API_BACKUP__ __ANDROID_API__
#undef __ANDROID_API__
#define __ANDROID_API__ 20
#include <android/legacy_signal_inlines.h>
#undef __ANDROID_API__
#define __ANDROID_API__ __ANDROID_API_BACKUP__
#include <sys/mount.h>
#include <map>