From a3008412441407c3a34e1bde39fcd9fdc9c57dd4 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 10 Feb 2008 23:30:31 +0000 Subject: Fix here too, to allow FD_SETSIZE > 64. If this doesnt work it will need to be set with /D on the commandline, but it looks like this is the best place to put it in an include (earliest possible place) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8890 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/inspircd_win32wrapper.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index 5673dfbfa..9e8e6fb91 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -23,6 +23,9 @@ #define WINDOWS 1 #define ENABLE_CRASHDUMPS 0 +/* This defaults to 64, way too small for an ircd! */ +#define FD_SETSIZE 12000 + /* Make builds smaller, leaner and faster */ #define VC_EXTRALEAN #define WIN32_LEAN_AND_MEAN -- cgit v1.2.3