X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=win%2Finspircd_win32wrapper.h;h=a7a323693487f7c02a70ed7abfaf4982f9a060c8;hb=e97cce71bbc3f4ce46a01fd3e32375a7ef8611d7;hp=943e50cb8017bc8e2c34739e47603f969296129f;hpb=a6e0557f91998c30469030f08464cc8cb6c11fd6;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index 943e50cb8..a7a323693 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -24,7 +24,7 @@ #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 @@ -86,6 +86,7 @@ /* 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 @@ -103,6 +104,9 @@ CoreExport const char * inet_ntop(int af, const void * src, char * dst, socklen_ #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); @@ -189,17 +193,6 @@ class InspIRCd; 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();