Fix build against Mac OS X SDK 10.4
Change-Id: I077afe48e0d375f75a8c35bc87c6c177b68512f7
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user