From 1d9c591c08256a764b73cfb910e4a4563c785188 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Wed, 11 Nov 2015 09:36:17 +0100 Subject: [PATCH] Fix OS X compilation: use mode_t instead of __mode_t --- src/libsync/filesystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsync/filesystem.cpp b/src/libsync/filesystem.cpp index 917992690..db13a7471 100644 --- a/src/libsync/filesystem.cpp +++ b/src/libsync/filesystem.cpp @@ -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;