summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-01-04 13:33:00 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-01-04 13:33:00 (GMT)
commitc36625b05df8cf35946a16c1e47faac4d5b5ea00 (patch)
tree8985757b5009c9efd3811450cb714ea51f596015 /Modules/selectmodule.c
parent8fd7b0c1a790158a2ab42f70c6c16636f75a4de8 (diff)
downloadcpython-c36625b05df8cf35946a16c1e47faac4d5b5ea00.zip
cpython-c36625b05df8cf35946a16c1e47faac4d5b5ea00.tar.gz
cpython-c36625b05df8cf35946a16c1e47faac4d5b5ea00.tar.bz2
Some VS 6.0 compatibility fixes from Hirokazu Yamamoto which are also useful for later versions of MSVC. VS6 claims that fortran is a reserved word
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r--Modules/selectmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
index c4ebecc..168197b 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -44,6 +44,7 @@ extern void bzero(void *, int);
#endif
#ifdef MS_WINDOWS
+# define WIN32_LEAN_AND_MEAN
# include <winsock.h>
#else
# define SOCKET int