mirror of
https://github.com/libretro/RetroArch
synced 2025-02-25 12:41:18 +00:00
(XDK) Some stub build fixes
This commit is contained in:
parent
218b3dbda5
commit
94f5884a45
@ -523,7 +523,7 @@ static void rmenu_xui_list_set_selection(void *data)
|
||||
static void rmenu_xui_update_core_info(void *data)
|
||||
{
|
||||
(void)data;
|
||||
update_libretro_info(&g_extern.menu.info);
|
||||
menu_update_libretro_info(&g_extern.menu.info);
|
||||
}
|
||||
|
||||
menu_ctx_driver_t menu_ctx_rmenu_xui = {
|
||||
|
@ -1572,9 +1572,12 @@ void netplay_post_frame(netplay_t *netplay)
|
||||
#define addrinfo addrinfo_rarch__
|
||||
|
||||
#ifdef _XBOX
|
||||
/* TODO - implement h_length and h_addrtype */
|
||||
struct hostent
|
||||
{
|
||||
char **h_addr_list; /* Just do the minimal needed ... */
|
||||
int h_addrtype; /* host address type */
|
||||
int h_length; /* length of addresses */
|
||||
char **h_addr_list; /* list of addresses */
|
||||
};
|
||||
|
||||
static struct hostent *gethostbyname(const char *name)
|
||||
|
@ -54,6 +54,14 @@
|
||||
|
||||
#ifdef _XBOX
|
||||
#define socklen_t int
|
||||
|
||||
#ifndef h_addr
|
||||
#define h_addr h_addr_list[0] /* for backward compatibility */
|
||||
#endif
|
||||
|
||||
#ifndef SO_KEEPALIVE
|
||||
#define SO_KEEPALIVE 0 /* verify if correct */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32)
|
||||
|
Loading…
x
Reference in New Issue
Block a user