mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-11-22 20:01:20 +00:00
Skip compiling the FileOps::toUnixPermissions() helper method on Win32
This commit is contained in:
parent
48c6a7d5d1
commit
b5adf1eb37
1 changed files with 2 additions and 0 deletions
|
@ -272,6 +272,7 @@ void addFlag(InFlags inFlags, int testBit, OutFlags& outFlags, int setBit)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef PLATFORM_UNIX
|
||||
int FileOps::toUnixPermissions(int qtPermissions)
|
||||
{
|
||||
mode_t result = 0;
|
||||
|
@ -286,4 +287,5 @@ int FileOps::toUnixPermissions(int qtPermissions)
|
|||
addFlag(qtPermissions,ExecOther,result,S_IXOTH);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue