summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-11 09:27:05 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-11 09:27:05 (GMT)
commitf84d1b9375ff1d761f39f2878c68b09e3db17027 (patch)
treec63caf9410e4b339c8c468c56681b13187a99c94 /PC
parent03ca23d892bae3f3b524f8230e417903c3f5b134 (diff)
downloadcpython-f84d1b9375ff1d761f39f2878c68b09e3db17027.zip
cpython-f84d1b9375ff1d761f39f2878c68b09e3db17027.tar.gz
cpython-f84d1b9375ff1d761f39f2878c68b09e3db17027.tar.bz2
Introduce Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE.
Proposed by Tim Peters.
Diffstat (limited to 'PC')
-rw-r--r--PC/pyconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 33777dc..bb16cfb 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -572,4 +572,9 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* Define if you have the thread library (-lthread). */
/* #undef HAVE_LIBTHREAD */
+
+/* WinSock does not use a bitmask in select, and uses
+ socket handles greater than FD_SETSIZE */
+#define Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE
+
#endif /* !Py_CONFIG_H */