mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-28 10:30:03 +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
|
#ifdef ENOTSOCK
|
||||||
case ENOTSOCK:
|
case ENOTSOCK:
|
||||||
#endif
|
#else
|
||||||
#ifdef WSAENOTSOCK
|
#ifdef WSAENOTSOCK
|
||||||
case WSAENOTSOCK:
|
case WSAENOTSOCK:
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
case EBADF:
|
case EBADF:
|
||||||
/* programmer error */
|
/* programmer error */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user