aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPjotr Prins2018-06-29 12:51:41 +0000
committerPjotr Prins2018-06-29 12:51:41 +0000
commit9f9887eb5befe025e85641f1930e46e5e6a25e56 (patch)
treeaf87047d49fb39b7a7a5c7c1d5dc2b98400c5595 /src/main.cpp
parent7f61ca0761e93918f64119c50b32e2812eba8291 (diff)
parent159f95233afd36c98335059e35cd6c51e4760d24 (diff)
downloadpangemma-9f9887eb5befe025e85641f1930e46e5e6a25e56.tar.gz
Merge branch 'master' of github.com:genetics-statistics/GEMMA
Diffstat (limited to 'src/main.cpp')
-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())