aboutsummaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-11 09:27:05 +0000
committerMartin v. Löwis <martin@v.loewis.de>2006-02-11 09:27:05 +0000
commitf84d1b9375ff1d761f39f2878c68b09e3db17027 (patch)
treec63caf9410e4b339c8c468c56681b13187a99c94 /PC
parentExplain the clearing of the stack in a comment in Python/ceval.c's (diff)
downloadcpython-f84d1b9375ff1d761f39f2878c68b09e3db17027.tar.gz
cpython-f84d1b9375ff1d761f39f2878c68b09e3db17027.tar.bz2
cpython-f84d1b9375ff1d761f39f2878c68b09e3db17027.zip
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 33777dc6a70..bb16cfb969a 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 */