Kaydet (Commit) c8f01964 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Fix compilation under Windows

üst a0b6873d
...@@ -475,6 +475,9 @@ select_error(void) ...@@ -475,6 +475,9 @@ select_error(void)
} }
#ifdef MS_WINDOWS #ifdef MS_WINDOWS
#ifndef WSAEAGAIN
#define WSAEAGAIN WSAEWOULDBLOCK
#endif
#define CHECK_ERRNO(expected) \ #define CHECK_ERRNO(expected) \
(WSAGetLastError() == WSA ## expected) (WSAGetLastError() == WSA ## expected)
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment