mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08: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)
|
||||
|
||||
#else
|
||||
/* Win32 */
|
||||
|
||||
#define EVUTIL_ERR_IS_EAGAIN(e) \
|
||||
((e) == WSAEWOULDBLOCK || (e) == EAGAIN)
|
||||
|
||||
#define EVUTIL_ERR_RW_RETRIABLE(e) \
|
||||
((e) == WSAEWOULDBLOCK || \
|
||||
|
Loading…
x
Reference in New Issue
Block a user