Added Windows builds

This commit is contained in:
SChernykh
2021-09-05 09:47:48 +02:00
parent b17723f1e4
commit e527b0c660
8 changed files with 98 additions and 14 deletions
+5 -1
View File
@@ -75,7 +75,11 @@ void p2pool_api::create_dir(const std::string& path)
#ifdef _MSC_VER
int result = _mkdir(path.c_str());
#else
int result = mkdir(path.c_str(), 0775);
int result = mkdir(path.c_str()
#ifndef _WIN32
, 0775
#endif
);
#endif
if (result < 0) {