summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/poll.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-06-07 15:36:47 +0000
committerChristopher Faylor <me@cgf.cx>2003-06-07 15:36:47 +0000
commit42a737d0a4191c776ef368a93fe4188b241fa572 (patch)
treedd55800265ec17ed4df6a8353e6c7d9a8a370d6b /winsup/cygwin/poll.cc
parent9501a0a1c74742fc238203ee92d8ac8c79e1e645 (diff)
downloadcygnal-42a737d0a4191c776ef368a93fe4188b241fa572.tar.gz
cygnal-42a737d0a4191c776ef368a93fe4188b241fa572.tar.bz2
cygnal-42a737d0a4191c776ef368a93fe4188b241fa572.zip
* poll.cc: Define FD_SETSIZE to ridiculously large number so that there will be
no artificially large limits.
Diffstat (limited to 'winsup/cygwin/poll.cc')
-rw-r--r--winsup/cygwin/poll.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/poll.cc b/winsup/cygwin/poll.cc
index e12ed969d..44d00b9a5 100644
--- a/winsup/cygwin/poll.cc
+++ b/winsup/cygwin/poll.cc
@@ -10,6 +10,7 @@
#define __INSIDE_CYGWIN_NET__
+#define FD_SETSIZE 16384 // lots of fds
#include "winsup.h"
#include <sys/time.h>
#include <sys/poll.h>