diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-28 22:03:27 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-28 22:03:27 (GMT) |
commit | c8f0196454d9a949aef7c55d6d292b497ab27d28 (patch) | |
tree | 653970cbc142d8b423b7a5b814f7531ba6c0c737 /Modules | |
parent | a0b6873d476789270934ddb9d187323f4edbdd2b (diff) | |
download | cpython-c8f0196454d9a949aef7c55d6d292b497ab27d28.zip cpython-c8f0196454d9a949aef7c55d6d292b497ab27d28.tar.gz cpython-c8f0196454d9a949aef7c55d6d292b497ab27d28.tar.bz2 |
Fix compilation under Windows
Diffstat (limited to 'Modules')
-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 017a63e..eac5b4e 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 |