aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 706ac35..deadc63 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -58,7 +58,11 @@ int main(int argc, char *argv[]) {
ifstream check_dir((cPar.path_out).c_str());
if (!check_dir) {
- mkdir((cPar.path_out).c_str(), S_IRWXU | S_IRGRP | S_IROTH);
+ #ifdef WINDOWS
+ mkdir((cPar.path_out).c_str());
+ #else
+ mkdir((cPar.path_out).c_str(), S_IRWXU | S_IRGRP | S_IROTH);
+ #endif
}
if (!is_quiet_mode())