From 4db9e9aa8ad1adb8f6b20e73c3831968c99b60c3 Mon Sep 17 00:00:00 2001
From: Roger Dingledine <arma@torproject.org>
Date: Wed, 2 Jun 2004 19:44:23 +0000
Subject: [PATCH] define FD_SETSIZE in all cases, not just win32

svn:r1937
---
 src/common/fakepoll.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/common/fakepoll.c b/src/common/fakepoll.c
index 8fafb01796..46dbe85e2d 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)
-- 
GitLab