mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
Put this around HAVE_COMMAND ifdefs
This commit is contained in:
parent
617ce26efb
commit
a3e13fde32
@ -539,6 +539,7 @@ bool command_network_send(const char *cmd_)
|
||||
}
|
||||
|
||||
|
||||
#ifdef HAVE_COMMAND
|
||||
static void command_network_poll(command_t *handle)
|
||||
{
|
||||
fd_set fds;
|
||||
@ -577,6 +578,7 @@ static void command_network_poll(command_t *handle)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDIN_CMD
|
||||
static bool command_stdin_init(command_t *handle)
|
||||
@ -798,8 +800,10 @@ bool command_poll(command_t *handle)
|
||||
memset(handle->state, 0, sizeof(handle->state));
|
||||
|
||||
#if defined(HAVE_NETWORKING) && defined(HAVE_NETWORK_CMD)
|
||||
#ifdef HAVE_COMMAND
|
||||
command_network_poll(handle);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDIN_CMD
|
||||
command_stdin_poll(handle);
|
||||
|
Loading…
Reference in New Issue
Block a user