John Jones 2017-02-02 19:10:10 -05:00
commit 33431a3007
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ int ipfs_flatfs_create_directory(const char* full_directory) {
// it is not there, create it // it is not there, create it
#ifdef __MINGW32__ #ifdef __MINGW32__
if (mkdir(full_directory) == -1) if (mkdir(full_directory) == -1)
return 0;
#else #else
if (mkdir(full_directory, S_IRWXU) == -1) if (mkdir(full_directory, S_IRWXU) == -1)
return 0; return 0;