mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Fix OS X compilation: use mode_t instead of __mode_t
This commit is contained in:
parent
f753960add
commit
1d9c591c08
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ static QFile::Permissions getDefaultWritePermissions()
|
|||
{
|
||||
QFile::Permissions result = QFile::WriteUser;
|
||||
#ifndef Q_OS_WIN
|
||||
__mode_t mask = umask(0);
|
||||
mode_t mask = umask(0);
|
||||
umask(mask);
|
||||
if (!(mask & S_IWGRP)) {
|
||||
result |= QFile::WriteGroup;
|
||||
|
|
Loading…
Reference in a new issue