mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 19:20:54 +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 <CoreFoundation/CoreFoundation.h>
|
||||
#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>
|
||||
#define IOKIT
|
||||
#include <device/device_types.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user