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

@@ -735,7 +735,7 @@ get_compiler_id (const char *compiler)
#ifdef G_OS_UNIX
const char *compiler_env = g_getenv ("CC");
# ifdef __APPLE__
# ifdef G_OS_DARWIN
if (compiler_env == NULL || *compiler_env == '\0')
compiler = "clang";
else