mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
Fix build on Mavericks.
This commit is contained in:
parent
0eba84c09f
commit
005af7bd63
@ -1,5 +1,4 @@
|
|||||||
#define BLUETOOTH_VERSION_USE_CURRENT
|
#define BLUETOOTH_VERSION_USE_CURRENT
|
||||||
#import <IOBluetooth/IOBluetooth.h>
|
|
||||||
|
|
||||||
#include "Common.h"
|
#include "Common.h"
|
||||||
#include "WiimoteReal.h"
|
#include "WiimoteReal.h"
|
||||||
|
@ -8,6 +8,13 @@
|
|||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
|
// Work around an Apple bug: for some reason, IOBluetooth.h errors on
|
||||||
|
// inclusion in Mavericks, but only in Objective-C++ C++11 mode. I filed
|
||||||
|
// this as <rdar://15312520>; in the meantime...
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
#undef NS_ENUM_AVAILABLE
|
||||||
|
#define NS_ENUM_AVAILABLE(...)
|
||||||
|
// end hack
|
||||||
#import <IOBluetooth/IOBluetooth.h>
|
#import <IOBluetooth/IOBluetooth.h>
|
||||||
#elif defined(__linux__) && HAVE_BLUEZ
|
#elif defined(__linux__) && HAVE_BLUEZ
|
||||||
#include <bluetooth/bluetooth.h>
|
#include <bluetooth/bluetooth.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user