X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=win%2Finspircd_win32wrapper.h;h=7fef5ff1dd2972729c66a40114c5cdb2dbcb3430;hb=b925987b288280f3e03fa808fc9e082545d9957f;hp=943e50cb8017bc8e2c34739e47603f969296129f;hpb=a6e0557f91998c30469030f08464cc8cb6c11fd6;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index 943e50cb8..7fef5ff1d 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -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);