Fix compilation under Windows
This commit is contained in:
parent
a0b6873d47
commit
c8f0196454
|
@ -475,6 +475,9 @@ select_error(void)
|
|||
}
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
#ifndef WSAEAGAIN
|
||||
#define WSAEAGAIN WSAEWOULDBLOCK
|
||||
#endif
|
||||
#define CHECK_ERRNO(expected) \
|
||||
(WSAGetLastError() == WSA ## expected)
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue