Skip to content
Snippets Groups Projects
Commit 4db9e9aa authored by Roger Dingledine's avatar Roger Dingledine
Browse files

define FD_SETSIZE in all cases, not just win32

svn:r1937
parent 605e10a6
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment