From 8633d999d691f7072a6a40679398750e1af5f850 Mon Sep 17 00:00:00 2001 From: kh1 Date: Wed, 23 Jan 2013 14:29:03 +0100 Subject: Make IFW compile with mingw. Change-Id: I0336e02ef701a2bc392bd385d1822bc51cee0c5c Reviewed-by: Kai Koehne --- tools/binarycreator/binarycreator.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/binarycreator/binarycreator.cpp') 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) { -- cgit v1.2.3