summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.h
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/socketmodule.h
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/socketmodule.h')
-rw-r--r--Modules/socketmodule.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h
index 135b716..1df1ae6 100644
--- a/Modules/socketmodule.h
+++ b/Modules/socketmodule.h
@@ -22,6 +22,7 @@
# define HAVE_GETNAMEINFO
# define ENABLE_IPV6
#else
+# define WIN32_LEAN_AND_MEAN
# include <winsock.h>
#endif
#endif