mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 12:41:50 +01:00
gmodule: 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
0da4b1bf31
commit
6e664dbe33
@ -490,7 +490,7 @@ g_module_open_full (const gchar *file_name,
|
||||
handle = _g_module_self ();
|
||||
/* On Android 64 bit, RTLD_DEFAULT is (void *)0x0
|
||||
* so it always fails to create main_module if file_name is NULL */
|
||||
#if !defined(__BIONIC__) || !defined(__LP64__)
|
||||
#if !defined(__ANDROID__) || !defined(__LP64__)
|
||||
if (handle)
|
||||
#endif
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user