From 6e664dbe33bac8e433f388b6fb1e92666f58df64 Mon Sep 17 00:00:00 2001 From: "L. E. Segovia" Date: Tue, 2 Apr 2024 08:43:00 -0300 Subject: [PATCH] gmodule: Use __ANDROID__ to test for the OS, not __BIONIC__ See https://android.googlesource.com/platform/bionic/+/HEAD/docs/defines.md --- gmodule/gmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c index 09797c93a..1e6c634d9 100644 --- a/gmodule/gmodule.c +++ b/gmodule/gmodule.c @@ -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 {