all repos — fluxbox @ f922d2d80359fa659f511d0fc8c18bdd11fe06f7

custom fork of the fluxbox windowmanager

main.cc: Add a wrapper for two-argument mkdir on Windows
Ryan Pavlik rpavlik@iastate.edu
commit

f922d2d80359fa659f511d0fc8c18bdd11fe06f7

parent

42f647553a129e6bf5ce80567ce207da07049283

1 files changed, 8 insertions(+), 0 deletions(-)

jump to
M src/main.ccsrc/main.cc

@@ -321,6 +321,14 @@ }

} } +#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