Implement EVUTIL_ERR_IS_EAGAIN on windows.

This commit is contained in:
Nick Mathewson 2013-01-23 16:55:09 +00:00
parent f324b1dffc
commit 42aaf4dcf7

View File

@ -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 || \