mirror of
https://github.com/libretro/RetroArch
synced 2025-04-25 09:02:44 +00:00
Use an ifdef for this callback function
This commit is contained in:
parent
da03e81454
commit
d49502d6e9
@ -3670,6 +3670,7 @@ static int action_ok_netplay_enable_host(const char *path,
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_NETWORKING
|
||||||
static void action_ok_netplay_enable_client_hostname_cb(
|
static void action_ok_netplay_enable_client_hostname_cb(
|
||||||
void *ignore, const char *hostname)
|
void *ignore, const char *hostname)
|
||||||
{
|
{
|
||||||
@ -3682,6 +3683,7 @@ static void action_ok_netplay_enable_client_hostname_cb(
|
|||||||
/* Force the menu to close */
|
/* Force the menu to close */
|
||||||
rarch_ctl(RARCH_CTL_MENU_RUNNING_FINISHED, NULL);
|
rarch_ctl(RARCH_CTL_MENU_RUNNING_FINISHED, NULL);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int action_ok_netplay_enable_client(const char *path,
|
static int action_ok_netplay_enable_client(const char *path,
|
||||||
const char *label, unsigned type, size_t idx, size_t entry_idx)
|
const char *label, unsigned type, size_t idx, size_t entry_idx)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user