aboutsummaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorRyan Pavlik <rpavlik@iastate.edu>2011-10-28 17:16:10 (GMT)
committerRyan Pavlik <rpavlik@iastate.edu>2011-10-31 15:54:09 (GMT)
commitf922d2d80359fa659f511d0fc8c18bdd11fe06f7 (patch)
tree197ea3e7d6be7c8a416b451d9446d174a487ba54 /src/main.cc
parent42f647553a129e6bf5ce80567ce207da07049283 (diff)
downloadfluxbox_paul-f922d2d80359fa659f511d0fc8c18bdd11fe06f7.zip
fluxbox_paul-f922d2d80359fa659f511d0fc8c18bdd11fe06f7.tar.bz2
main.cc: Add a wrapper for two-argument mkdir on Windows
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc8
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*/
328static 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