mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-24 01:48:53 +02:00
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:
@@ -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 ());
|
||||
|
Reference in New Issue
Block a user