main.cc: Add a wrapper for two-argument mkdir on Windows
This commit is contained in:
parent
42f647553a
commit
f922d2d803
1 changed files with 8 additions and 0 deletions
|
@ -321,6 +321,14 @@ static void parseOptions(int argc, char** argv, Options& opts) {
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
/**
|
||||
Wrapper function for Windows builds - mkdir takes only one param.
|
||||
*/
|
||||
static int mkdir(const char *dirname, int /*permissions*/) {
|
||||
return mkdir(dirname);
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
setup the configutation files in
|
||||
|
|
Loading…
Reference in a new issue