diff options
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 017a63e576..eac5b4e4d0 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -475,6 +475,9 @@ select_error(void) } #ifdef MS_WINDOWS +#ifndef WSAEAGAIN +#define WSAEAGAIN WSAEWOULDBLOCK +#endif #define CHECK_ERRNO(expected) \ (WSAGetLastError() == WSA ## expected) #else |