summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win/inspircd_win32wrapper.h3
1 files changed, 3 insertions, 0 deletions
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);