mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 01:21:03 +00:00
(iOS) Buildfix
This commit is contained in:
parent
a81b944d35
commit
63c42ef39b
@ -18,7 +18,6 @@
|
|||||||
#define __IOS_RARCH_BTDYNAMIC_H__
|
#define __IOS_RARCH_BTDYNAMIC_H__
|
||||||
|
|
||||||
#include <boolean.h>
|
#include <boolean.h>
|
||||||
#include "btstack/utils.h"
|
|
||||||
#include "btstack/btstack.h"
|
#include "btstack/btstack.h"
|
||||||
|
|
||||||
bool btstack_try_load(void);
|
bool btstack_try_load(void);
|
||||||
|
@ -386,7 +386,7 @@ void linked_list_add(linked_list_t * list, linked_item_t *item);
|
|||||||
|
|
||||||
void linked_list_add_tail(linked_list_t * list, linked_item_t *item);
|
void linked_list_add_tail(linked_list_t * list, linked_item_t *item);
|
||||||
|
|
||||||
int linked_list_remove(linked_list_t * list, linked_item_t *item)
|
int linked_list_remove(linked_list_t * list, linked_item_t *item);
|
||||||
|
|
||||||
linked_item_t * linked_list_get_last_item(linked_list_t * list);
|
linked_item_t * linked_list_get_last_item(linked_list_t * list);
|
||||||
|
|
||||||
@ -467,22 +467,22 @@ uint32_t embedded_get_ticks(void);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* utils.h */
|
/* utils.h */
|
||||||
|
|
||||||
|
/* Length of a Bluetooth device address. */
|
||||||
|
#define BD_ADDR_LEN 6
|
||||||
|
|
||||||
|
/* The link key type. */
|
||||||
|
#define LINK_KEY_LEN 16
|
||||||
|
|
||||||
|
/* The device name type. */
|
||||||
|
#define DEVICE_NAME_LEN 248
|
||||||
|
|
||||||
/* Connection handle type. */
|
/* Connection handle type. */
|
||||||
typedef uint16_t hci_con_handle_t;
|
typedef uint16_t hci_con_handle_t;
|
||||||
|
|
||||||
typedef uint8_t bd_addr_t[BD_ADDR_LEN];
|
typedef uint8_t bd_addr_t[BD_ADDR_LEN];
|
||||||
typedef uint8_t link_key_t[LINK_KEY_LEN];
|
typedef uint8_t link_key_t[LINK_KEY_LEN];
|
||||||
typedef uint8_t device_name_t[DEVICE_NAME_LEN+1];
|
typedef uint8_t device_name_t[DEVICE_NAME_LEN+1];
|
||||||
|
|
||||||
/* Length of a Bluetooth device address. */
|
|
||||||
#define BD_ADDR_LEN 6
|
|
||||||
|
|
||||||
/* The link key type. */
|
|
||||||
#define LINK_KEY_LEN 16
|
|
||||||
|
|
||||||
/* The device name type. */
|
|
||||||
#define DEVICE_NAME_LEN 248
|
|
||||||
|
|
||||||
/* helper for BT little endian format. */
|
/* helper for BT little endian format. */
|
||||||
#define READ_BT_16( buffer, pos) ( ((uint16_t) buffer[pos]) | (((uint16_t)buffer[pos+1]) << 8))
|
#define READ_BT_16( buffer, pos) ( ((uint16_t) buffer[pos]) | (((uint16_t)buffer[pos+1]) << 8))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user