main.cc: Add a wrapper for two-argument mkdir on Windows

This commit is contained in:
Ryan Pavlik 2011-10-28 12:16:10 -05:00
parent 42f647553a
commit f922d2d803

View file

@ -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