summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2013-01-23 14:29:03 +0100
committerKarsten Heimrich <karsten.heimrich@digia.com>2013-01-29 11:12:24 +0100
commit8633d999d691f7072a6a40679398750e1af5f850 (patch)
tree67eb0742981ede47c1612c44d0a7b7aaac9d713c /tools
parent80ceccff00a46ecd37ed2c65784cb5905d067526 (diff)
Make IFW compile with mingw.
Change-Id: I0336e02ef701a2bc392bd385d1822bc51cee0c5c Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/binarycreator/binarycreator.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/binarycreator/binarycreator.cpp b/tools/binarycreator/binarycreator.cpp
index c0b658a61..f3777b602 100644
--- a/tools/binarycreator/binarycreator.cpp
+++ b/tools/binarycreator/binarycreator.cpp
@@ -105,11 +105,13 @@ private:
mutable QString backup;
};
+#ifndef Q_OS_WIN
static void chmod755(const QString &absolutFilePath)
{
QFile::setPermissions(absolutFilePath, QFile::ReadOwner | QFile::WriteOwner | QFile::ExeOwner
| QFile::ReadGroup | QFile::ExeGroup | QFile::ReadOther | QFile::ExeOther);
}
+#endif
static int assemble(Input input, const QString &configFile)
{