mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
fix osx build, and first step to get real wiimotes on osx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2277 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
6
Externals/WiiUseSrc/Src/wiiuse.h
vendored
6
Externals/WiiUseSrc/Src/wiiuse.h
vendored
@ -42,6 +42,8 @@
|
||||
#ifdef _WIN32
|
||||
/* windows */
|
||||
#include <windows.h>
|
||||
#elif defined(__APPLE__)
|
||||
#include <string.h>
|
||||
#else
|
||||
/* nix */
|
||||
#include <bluetooth/bluetooth.h>
|
||||
@ -533,7 +535,11 @@ typedef struct wiimote_t {
|
||||
WCONST int unid; /**< user specified id */
|
||||
|
||||
#ifndef WIN32
|
||||
#if defined(__APPLE__)
|
||||
WCONST char bdaddr[10]; /**< bt address on osx addr are string */
|
||||
#else
|
||||
WCONST bdaddr_t bdaddr; /**< bt address */
|
||||
#endif
|
||||
WCONST char bdaddr_str[18]; /**< readable bt address */
|
||||
WCONST int out_sock; /**< output socket */
|
||||
WCONST int in_sock; /**< input socket */
|
||||
|
Reference in New Issue
Block a user