[Libreoffice-commits] core.git: sd/source
Tor Lillqvist
tml at iki.fi
Thu Feb 14 06:52:53 PST 2013
sd/source/ui/remotecontrol/BluetoothServer.cxx | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
New commits:
commit bc96a84370fb167ab2c63582c10535992f31768c
Author: Tor Lillqvist <tml at iki.fi>
Date: Thu Feb 14 16:52:07 2013 +0200
Fix build against Mac OS X SDK 10.4
Change-Id: I077afe48e0d375f75a8c35bc87c6c177b68512f7
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index 7677e64..e877cca 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -41,7 +41,14 @@
#ifdef MACOSX
#include <premac.h>
- #include <IOBluetooth/IOBluetooth.h>
+ #if MACOSX_SDK_VERSION >= 1070
+ #import <IOBluetooth/IOBluetooth.h>
+ #else
+ #import <CoreFoundation/CoreFoundation.h>
+ #import <IOBluetooth/IOBluetoothUtilities.h>
+ #import <IOBluetooth/objc/IOBluetoothSDPUUID.h>
+ #import <IOBluetooth/objc/IOBluetoothSDPServiceRecord.h>
+ #endif
#include <postmac.h>
#endif
More information about the Libreoffice-commits
mailing list