android: add support for NDK sharedmem
authorDevriesL <therkduan@gmail.com>
Tue, 25 May 2021 15:45:11 +0000 (23:45 +0800)
committerDevriesL <therkduan@gmail.com>
Tue, 25 May 2021 22:52:05 +0000 (06:52 +0800)
commitd7e3adb683f85e49e078599a08aec7cd7c32d977
tree5569031974e74ce5ab270479eec9d5fceace520c
parentb54e0d80c52e626021aacd0ae4d9875940cff9aa
android: add support for NDK sharedmem

Android add support for NDK sharedmem since API level 26 and prohibit
the directly use of ashmem since API level 29, so we can use sharedmem
if targeting API level is higher than 26.

Signed-off-by: DevriesL <therkduan@gmail.com>
os/os-android.h