From e5233ccf9e32cd5d399f91512d7f310d43558e31 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 20 Apr 2009 15:39:48 +0200 Subject: Cope with the fact that only _mkdir() exists on Windows and that it doesn't take a mode argument. --- lib/replace/system/filesys.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/replace/system/filesys.h') diff --git a/lib/replace/system/filesys.h b/lib/replace/system/filesys.h index 4bf1f64865..1cf6f231b7 100644 --- a/lib/replace/system/filesys.h +++ b/lib/replace/system/filesys.h @@ -179,4 +179,8 @@ #define SEEK_SET 0 #endif +#ifdef _WIN32 +#define mkdir(d,m) _mkdir(d) +#endif + #endif -- cgit