#define ENABLE_CRASHDUMPS 0
/* This defaults to 64, way too small for an ircd! */
-#define FD_SETSIZE 12000
+#define FD_SETSIZE 24000
/* Make builds smaller, leaner and faster */
#define VC_EXTRALEAN
/* this standard function is nonstarard. go figure. */
#define popen _popen
+#define pclose _pclose
/* Error macros need to be redirected to winsock error codes */
#define ETIMEDOUT WSAETIMEDOUT
#define snprintf _snprintf
#define vsnprintf _vsnprintf
+/* Since when does the ISO C++ standard *remove* C functions?! */
+#define mkdir(file,mode) _mkdir(file)
+
/* Recursive token function doesn't exist in VC++ */
CoreExport char * strtok_r(char *_String, const char *_Control, char **_Context);
class ValueItem;
class ServerConfig;
-class IPC
-{
- private:
- InspIRCd* Instance;
- HANDLE hIPCPipe;
- public:
- IPC(InspIRCd* Srv);
- void Check();
- ~IPC();
-};
-
/* Look up the nameserver in use from the registry on windows */
std::string FindNameServerWin();