mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
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:
parent
6e0632a29e
commit
e0fca3e7a7
@ -46,7 +46,7 @@
|
|||||||
#include <gstdio.h>
|
#include <gstdio.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
|
||||||
#if defined(__BIONIC__) && (__ANDROID_API__ < 26)
|
#if defined(__ANDROID__) && (__ANDROID_API__ < 26)
|
||||||
#include <mntent.h>
|
#include <mntent.h>
|
||||||
/* the shared object of recent bionic libc's have hasmntopt symbol, but
|
/* the shared object of recent bionic libc's have hasmntopt symbol, but
|
||||||
some a possible common build environment for android, termux ends
|
some a possible common build environment for android, termux ends
|
||||||
|
Loading…
Reference in New Issue
Block a user