Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Implement EVUTIL_ERR_IS_EAGAIN on windows.

  • Loading branch information...
commit 42aaf4dcf74a046fa30878d2780471e2acad800f 1 parent f324b1d
Nick Mathewson authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 util-internal.h
View
4 util-internal.h
@@ -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 || \
Please sign in to comment.
Something went wrong with that request. Please try again.