Fix --disable-networking.

Fixes https://github.com/libretro/RetroArch/issues/2663.
This commit is contained in:
orbea 2017-10-21 19:02:03 -07:00
parent f7218eb85b
commit f1192ca8ac
2 changed files with 3 additions and 0 deletions

View File

@ -626,7 +626,9 @@ static void command_stdin_poll(command_t *handle)
*last_newline++ = '\0';
msg_len = last_newline - handle->stdin_buf;
#if defined(HAVE_NETWORKING)
command_parse_msg(handle, handle->stdin_buf, CMD_STDIN);
#endif
memmove(handle->stdin_buf, last_newline,
handle->stdin_buf_ptr - msg_len);

View File

@ -215,6 +215,7 @@ if [ "$HAVE_NETWORKING" = 'yes' ]; then
fi
else
echo "Warning: All networking features have been disabled."
HAVE_KEYMAPPER='no'
HAVE_NETWORK_CMD='no'
HAVE_NETWORKGAMEPAD='no'
HAVE_CHEEVOS='no'