From f554300e1f2b69c77e7bbb5054231c2fc5c78928 Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Fri, 1 Sep 2017 13:26:30 -0700 Subject: Simplify system frameworks includes The previous version was doing exactly this, but in a far more complicated manner. Change-Id: Ia8f6a418a7fc6eab03207ced099288b8d4e5f3a7 Reviewed-by: Timur Pocheptsov --- src/bluetooth/osx/osxbluetooth_p.h | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'src/bluetooth/osx') diff --git a/src/bluetooth/osx/osxbluetooth_p.h b/src/bluetooth/osx/osxbluetooth_p.h index 1c6ac761..ea1b388f 100644 --- a/src/bluetooth/osx/osxbluetooth_p.h +++ b/src/bluetooth/osx/osxbluetooth_p.h @@ -54,23 +54,10 @@ #include -#ifndef QT_OSX_BLUETOOTH - -#include - -#else - -#if QT_OSX_PLATFORM_SDK_EQUAL_OR_ABOVE(__MAC_10_12) - #include -#include -#else - -// In SDK below 10.12 IOBluetooth.h includes CoreBluetooth.h. +#ifdef Q_OS_MACOS #include +#endif -#endif // SDK - -#endif // QT_OSX_BLUETOOTH #endif // OSXBLUETOOTH_P_H -- cgit v1.2.1