Merge pull request #9595 from orbea/networking

qb: Fix --disable-networking.
This commit is contained in:
Twinaphex 2019-10-15 16:52:44 +02:00 committed by GitHub
commit 6b93b77d0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -182,6 +182,7 @@ check_enabled NETWORKING DISCORD discord 'Networking is' false
check_enabled NETWORKING MINIUPNPC miniupnpc 'Networking is' false
check_enabled NETWORKING SSL ssl 'Networking is' false
check_enabled NETWORKING TRANSLATE OCR 'Networking is' false
check_enabled NETWORKING HAVE_NETPLAYDISCOVERY 'Netplay discovery' 'Networking is' false
check_enabled NETWORKING NETWORKGAMEPAD 'the networked game pad' 'Networking is' true
check_enabled MINIUPNPC BUILTINMINIUPNPC 'builtin miniupnpc' 'miniupnpc is' true

View File

@ -2474,7 +2474,6 @@ static bool command_verify(const char *cmd)
return false;
}
static bool command_network_send(const char *cmd_)
{
bool ret = false;
@ -2525,6 +2524,7 @@ static bool command_network_send(const char *cmd_)
}
#endif
#if defined(HAVE_NETWORKING) && defined(HAVE_NETWORK_CMD) && defined(HAVE_COMMAND)
static void command_parse_sub_msg(command_t *handle, const char *tok)
{
const char *arg = NULL;
@ -2601,6 +2601,7 @@ static void command_network_poll(command_t *handle)
command_parse_msg(handle, buf, CMD_NETWORK);
}
}
#endif
static bool command_free(command_t *handle)
{