mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-15 10:23:11 +02:00
Don't add unix specific APIs on win32
This commit is contained in:
parent
5a46e4d140
commit
c897cca601
@ -1196,17 +1196,21 @@ g_tcp_connection_get_graceful_disconnect
|
|||||||
|
|
||||||
#if IN_HEADER(__G_UNIX_CONNECTION_H__)
|
#if IN_HEADER(__G_UNIX_CONNECTION_H__)
|
||||||
#if IN_FILE(__G_UNIX_CONNECTION_C__)
|
#if IN_FILE(__G_UNIX_CONNECTION_C__)
|
||||||
|
#ifndef G_OS_WIN32
|
||||||
g_unix_connection_get_type G_GNUC_CONST
|
g_unix_connection_get_type G_GNUC_CONST
|
||||||
g_unix_connection_receive_fd
|
g_unix_connection_receive_fd
|
||||||
g_unix_connection_send_fd
|
g_unix_connection_send_fd
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if IN_HEADER(__G_UNIX_FD_MESSAGE_H__)
|
#if IN_HEADER(__G_UNIX_FD_MESSAGE_H__)
|
||||||
#if IN_FILE(__G_UNIX_FD_MESSAGE_C__)
|
#if IN_FILE(__G_UNIX_FD_MESSAGE_C__)
|
||||||
|
#ifndef G_OS_WIN32
|
||||||
g_unix_fd_message_get_type G_GNUC_CONST
|
g_unix_fd_message_get_type G_GNUC_CONST
|
||||||
g_unix_fd_message_append_fd
|
g_unix_fd_message_append_fd
|
||||||
g_unix_fd_message_new
|
g_unix_fd_message_new
|
||||||
g_unix_fd_message_steal_fds
|
g_unix_fd_message_steal_fds
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user