gio: compile GUnixConnection on all platforms

On !UNIX, return an error for send_fd() & receive_fd().
(the unixfdmessage unit is not compiled on !UNIX)

The header is installed under the common GIO include directory.

Ensure G_TYPE_UNIX_CONNECTION is registered on all platforms.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau
2022-01-19 15:52:15 +04:00
parent af1777d3d3
commit 83d45c4f35
4 changed files with 22 additions and 8 deletions

View File

@@ -108,7 +108,6 @@ if get_option('gtk_doc')
if host_system == 'windows'
ignore_headers += [
'gfiledescriptorbased.h',
'gunixconnection.h',
'gunixmounts.h',
'gunixfdlist.h',
'gunixfdmessage.h',