]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
define FD_SETSIZE in all cases, not just win32
authorRoger Dingledine <arma@torproject.org>
Wed, 2 Jun 2004 19:44:23 +0000 (19:44 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 2 Jun 2004 19:44:23 +0000 (19:44 +0000)
svn:r1937

src/common/fakepoll.c

index 8fafb017966ae87337954f348709c71f3ac052a6..46dbe85e2d7bfb2007a18703e8f008dd24de8493 100644 (file)
@@ -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)