Explorar o código

define FD_SETSIZE in all cases, not just win32

svn:r1937
Roger Dingledine %!s(int64=21) %!d(string=hai) anos
pai
achega
4db9e9aa8a
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      src/common/fakepoll.c

+ 1 - 3
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)