iOS: Check for TARGET_OS_IPHONE, not defined(TARGET_OS_IPHONE)
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>
Thu, 1 Nov 2012 20:51:24 +0000 (21:51 +0100)
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>
Fri, 2 Nov 2012 12:21:54 +0000 (13:21 +0100)
commit0e6ca4a8a12ea980014d15b59db2f97e294f2146
treec9a5ea801667bece9de10270f529d9674c417486
parent343afc5fc9b4c5dbaaa9fa8a5a3d049d74e0cd7e
iOS: Check for TARGET_OS_IPHONE, not defined(TARGET_OS_IPHONE)

TargetConditionals.h will define all targets, to either 1 or 0, so we
have to use $if TARGET_OS_IPHONE to not set Q_OS_IO on regular Mac OS
builds as well.

Change-Id: Ida38d8324d5723bf30e02c34e2edb14e5ed889b1
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
src/corelib/global/qsystemdetection.h