[Python-checkins] r85077 - python/branches/py3k/Modules/socketmodule.c
antoine.pitrou
python-checkins at python.org
Wed Sep 29 00:03:27 CEST 2010
Author: antoine.pitrou
Date: Wed Sep 29 00:03:27 2010
New Revision: 85077
Log:
Fix compilation under Windows
Modified:
python/branches/py3k/Modules/socketmodule.c
Modified: python/branches/py3k/Modules/socketmodule.c
==============================================================================
--- python/branches/py3k/Modules/socketmodule.c (original)
+++ python/branches/py3k/Modules/socketmodule.c Wed Sep 29 00:03:27 2010
@@ -475,6 +475,9 @@
}
#ifdef MS_WINDOWS
+#ifndef WSAEAGAIN
+#define WSAEAGAIN WSAEWOULDBLOCK
+#endif
#define CHECK_ERRNO(expected) \
(WSAGetLastError() == WSA ## expected)
#else
More information about the Python-checkins
mailing list