mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-21 17:37: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:
@@ -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
|
||||
|
Reference in New Issue
Block a user