From 5862157a0889c0cb9a889a08b1dd0d9959c5b9e9 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 12 Apr 2008 17:57:53 +0000 Subject: Mapping for mkdir() to _mkdir() for windows git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9473 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/inspircd_win32wrapper.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win') diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index 7de1fb44c..7fef5ff1d 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -104,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); -- cgit v1.2.3