diff options
-rw-r--r-- | examples/bluetooth/heartrate-game/deviceinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/heartrate-game/deviceinfo.cpp b/examples/bluetooth/heartrate-game/deviceinfo.cpp index cb2ca97e..cf364393 100644 --- a/examples/bluetooth/heartrate-game/deviceinfo.cpp +++ b/examples/bluetooth/heartrate-game/deviceinfo.cpp @@ -66,7 +66,7 @@ QString DeviceInfo::getAddress() const { #ifdef SIMULATOR return "00:11:22:33:44:55"; -#elif Q_OS_DARWIN +#elif defined Q_OS_DARWIN // workaround for Core Bluetooth: return m_device.deviceUuid().toString(); #else |