mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 13:53:30 +02:00
gutils: Disable some dead code on macOS
This code isn’t used when building on macOS, so ifdef it out to avoid a compiler warning. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
@@ -553,7 +553,7 @@ test_os_info (void)
|
||||
{
|
||||
gchar *name;
|
||||
gchar *contents = NULL;
|
||||
#ifdef G_OS_UNIX
|
||||
#if defined (G_OS_UNIX) && !(defined (G_OS_WIN32) || defined (__APPLE__))
|
||||
struct utsname info;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user