gunixmounts: Use __ANDROID__ to test for the OS, not __BIONIC__

See https://android.googlesource.com/platform/bionic/+/HEAD/docs/defines.md
This commit is contained in:
L. E. Segovia 2024-04-02 08:43:00 -03:00
parent 6e0632a29e
commit e0fca3e7a7

View File

@ -46,7 +46,7 @@
#include <gstdio.h>
#include <dirent.h>
#if defined(__BIONIC__) && (__ANDROID_API__ < 26)
#if defined(__ANDROID__) && (__ANDROID_API__ < 26)
#include <mntent.h>
/* the shared object of recent bionic libc's have hasmntopt symbol, but
some a possible common build environment for android, termux ends