mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 13:06:14 +01:00
gio/tests/pollable.c: Fix build on non-Linux UNIX
For non-Linux UNIX systems, the label 'close_libutil:' in 'test_pollable_unix_pty()' will have no statement that goes with that label. Just do a 'return' on non-Linux UNIX systems.
This commit is contained in:
parent
b3b829e309
commit
cf02c280ff
@ -225,6 +225,8 @@ test_pollable_unix_pty (void)
|
|||||||
close_libutil:
|
close_libutil:
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
dlclose (handle);
|
dlclose (handle);
|
||||||
|
#else
|
||||||
|
return;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user