diff options
author | Peter Carbonetto | 2018-03-01 14:31:44 -0600 |
---|---|---|
committer | GitHub | 2018-03-01 14:31:44 -0600 |
commit | 9df4b1c912a796383bbf9457aebaf9d82ae8f69d (patch) | |
tree | c8ab7ea1129f2f5f36d100b6274a044189e43c3b /src/main.cpp | |
parent | de72b4a9235c6932364fc1930fc243abfdd134e6 (diff) | |
parent | dd3ca7014de2d8f1a2cec36cc22ff93b1e929cc4 (diff) | |
download | pangemma-9df4b1c912a796383bbf9457aebaf9d82ae8f69d.tar.gz |
Merge pull request #139 from DannyArends/minGW_R
Added support to build GEMMA using the Rtool chain in Windows (x64).
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
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()) |