mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-31 19:20:26 +00:00
fix #82: compile issue with SDK 4.1 - thanks to tblanchard
This commit is contained in:
parent
a8709ccb96
commit
377e8340f8
@ -63,6 +63,11 @@
|
|||||||
#include <Foundation/Foundation.h>
|
#include <Foundation/Foundation.h>
|
||||||
#include <CoreFoundation/CoreFoundation.h>
|
#include <CoreFoundation/CoreFoundation.h>
|
||||||
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_2_0
|
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_2_0
|
||||||
|
// compile issue fix
|
||||||
|
#undef NSEC_PER_USEC
|
||||||
|
#undef USEC_PER_SEC
|
||||||
|
#undef NSEC_PER_SEC
|
||||||
|
// end of fix
|
||||||
#include <mach/mach.h>
|
#include <mach/mach.h>
|
||||||
#define IOKIT
|
#define IOKIT
|
||||||
#include <device/device_types.h>
|
#include <device/device_types.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user