gutils: 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 fe8348efb4
commit 9f95946e01

View File

@ -3281,7 +3281,7 @@ g_check_setuid (void)
if (errsv)
g_error ("getauxval () failed: %s", g_strerror (errsv));
return value;
#elif defined(HAVE_ISSETUGID) && !defined(__BIONIC__)
#elif defined(HAVE_ISSETUGID) && !defined(__ANDROID__)
/* BSD: http://www.freebsd.org/cgi/man.cgi?query=issetugid&sektion=2 */
/* Android had it in older versions but the new 64 bit ABI does not