mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-13 22:37:42 -04:00
Implement EVUTIL_ERR_IS_EAGAIN on windows.
This commit is contained in:
parent
f324b1dffc
commit
42aaf4dcf7
@ -102,6 +102,10 @@ extern "C" {
|
|||||||
((e) == ECONNREFUSED)
|
((e) == ECONNREFUSED)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
/* Win32 */
|
||||||
|
|
||||||
|
#define EVUTIL_ERR_IS_EAGAIN(e) \
|
||||||
|
((e) == WSAEWOULDBLOCK || (e) == EAGAIN)
|
||||||
|
|
||||||
#define EVUTIL_ERR_RW_RETRIABLE(e) \
|
#define EVUTIL_ERR_RW_RETRIABLE(e) \
|
||||||
((e) == WSAEWOULDBLOCK || \
|
((e) == WSAEWOULDBLOCK || \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user