mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gsocket: fix compilation when ENOTSOCK and WSANOTSOCK are both defined
This commit is contained in:
parent
9db8692f5a
commit
c5b6f774c4
@ -335,9 +335,10 @@ g_socket_details_from_fd (GSocket *socket)
|
||||
{
|
||||
#ifdef ENOTSOCK
|
||||
case ENOTSOCK:
|
||||
#endif
|
||||
#else
|
||||
#ifdef WSAENOTSOCK
|
||||
case WSAENOTSOCK:
|
||||
#endif
|
||||
#endif
|
||||
case EBADF:
|
||||
/* programmer error */
|
||||
|
Loading…
Reference in New Issue
Block a user