diff options
author | Milla Pohjanheimo <milla.pohjanheimo@qt.io> | 2017-04-13 15:41:16 +0300 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2017-04-13 13:47:32 +0000 |
commit | 60d27ebd2977eee384461469053755c6ba36f102 (patch) | |
tree | b89ae363413e3013bb4ebe5cd2d4cdb6abdc0b56 | |
parent | 8f09b31d98d50e9041d294e96eb0726cdf58f4b5 (diff) |
Fix failing heart-rate example on macOSv5.9.0-beta2
Add the missing 'defined' to deviceinfo.cpp to make the example to
build on macOS.
Change-Id: Ic632dcb1d3c47eb4af2c05324083143c9289f8f9
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-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 |