Fix incorrect check for iPhone macro in hwconsts.h
TARGET_OS_IPHONE is always defined when building on Mac OS, so the define was wrong. This macro expands to either 0 or 1, so a simple #if should be enough.
--- a/QTfrontend/hwconsts.h Thu Apr 19 14:07:56 2018 +0200
+++ b/QTfrontend/hwconsts.h Thu Apr 19 15:48:00 2018 +0200
@@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#if !defined(TARGET_OS_IPHONE)
+#if !(TARGET_OS_IPHONE)
#include <QString>
#include <QDir>
#include <QStringList>