gio, glib: Use G_OS_DARWIN for code that is for such environments

While we preserved the COCOA/CARBON cases when specific libraries are
needed.
This commit is contained in:
Marco Trevisan (Treviño)
2022-10-18 22:14:38 +02:00
parent e85635daa0
commit 476e33c3f3
24 changed files with 58 additions and 58 deletions

View File

@@ -247,7 +247,7 @@ assert_expected_uid_pid (InteropFlags flags,
* on Linux. */
g_assert_cmpint (uid, ==, getuid ());
g_assert_cmpint (pid, ==, getpid ());
#elif defined(__APPLE__)
#elif defined(G_OS_DARWIN)
/* We know (or at least suspect) that both GDBus and libdbus support
* passing the uid only on macOS. */
g_assert_cmpint (uid, ==, getuid ());