diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/fakepoll.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/fakepoll.c b/src/common/fakepoll.c index 8fafb0179..46dbe85e2 100644 --- a/src/common/fakepoll.c +++ b/src/common/fakepoll.c @@ -46,10 +46,8 @@ tor_poll(struct pollfd *ufds, unsigned int nfds, int timeout) return poll(ufds,nfds,timeout); } #else -/* by default, windows handles only 64 fd's */ -#if defined(MS_WINDOWS) && !defined(FD_SETSIZE) + #define FD_SETSIZE MAXCONNECTIONS -#endif int tor_poll(struct pollfd *ufds, unsigned int nfds, int timeout) |