Make QCoreWlan plugin compile on 10.9
authorMorten Johan Sørvig <morten.sorvig@digia.com>
Sun, 27 Oct 2013 15:50:22 +0000 (16:50 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 31 Oct 2013 15:34:03 +0000 (16:34 +0100)
commitef98098ef34581a473a885badea63d415bcf64f3
treee6e071190484aafbb5211904572ccf763d356327
parentab219c9594234356332351dd8b630d6963880b0f
Make QCoreWlan plugin compile on 10.9

Backport of 79ccb4fc from Qt 5:

We take the path of least resistence and keep the old API code for 10.6 while
updating the code for 10.7 and newer. This means we have some code duplication.
It also means that we only compile the 10.6 code for QCoreWlanEngine when the
deploymen target is 10.6.

The 10.6 version file should be removed once we drop support for Snow Leopard.

Change-Id: I07284a2579ba127abdca660ad4b8573576756399
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
src/plugins/bearer/corewlan/qcorewlanengine.mm
src/plugins/bearer/corewlan/qcorewlanengine_10_6.mm [new file with mode: 0644]