# HG changeset patch # User Wuzzy # Date 1524145680 -7200 # Node ID 450e37b2b4d44ee06103ab42c3b83f2cbd289ed1 # Parent 0b12b0d0d12cf64e06d837af46f38a1d6f9dca0f 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. diff -r 0b12b0d0d12c -r 450e37b2b4d4 QTfrontend/hwconsts.h --- 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 #include #include