diff options
-rw-r--r-- | src/main.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc index 7541a28..f294db3 100644 --- a/src/main.cc +++ b/src/main.cc | |||
@@ -321,6 +321,14 @@ static void parseOptions(int argc, char** argv, Options& opts) { | |||
321 | } | 321 | } |
322 | } | 322 | } |
323 | 323 | ||
324 | #ifdef _WIN32 | ||
325 | /** | ||
326 | Wrapper function for Windows builds - mkdir takes only one param. | ||
327 | */ | ||
328 | static int mkdir(const char *dirname, int /*permissions*/) { | ||
329 | return mkdir(dirname); | ||
330 | } | ||
331 | #endif | ||
324 | 332 | ||
325 | /** | 333 | /** |
326 | setup the configutation files in | 334 | setup the configutation files in |