Skip compiling the FileOps::toUnixPermissions() helper method on Win32

This commit is contained in:
Robert Knight 2011-08-22 15:52:06 +01:00
parent 48c6a7d5d1
commit b5adf1eb37

View file

@ -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