From: brain Date: Sun, 10 Feb 2008 23:30:31 +0000 (+0000) Subject: Fix here too, to allow FD_SETSIZE > 64. If this doesnt work it will need to be set... X-Git-Tag: v2.0.23~3878 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=a3008412441407c3a34e1bde39fcd9fdc9c57dd4;p=user%2Fhenk%2Fcode%2Finspircd.git 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 --- 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