diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-10 23:30:31 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-10 23:30:31 +0000 |
commit | a3008412441407c3a34e1bde39fcd9fdc9c57dd4 (patch) | |
tree | 2e850044baf586346907bcade59ba301deebe174 /win/inspircd_win32wrapper.h | |
parent | f51d9ad5ab7015f78a29039ca7ed169b281ff6bb (diff) |
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
Diffstat (limited to 'win/inspircd_win32wrapper.h')
-rw-r--r-- | win/inspircd_win32wrapper.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |