Use HAVE_COMMAND ifdef here

This commit is contained in:
twinaphex 2017-01-17 15:37:40 +01:00
parent a3e13fde32
commit c3f16de4d4

View File

@ -727,10 +727,12 @@ static void retroarch_parse_input(int argc, char *argv[])
#if defined(HAVE_NETWORK_CMD)
case RA_OPT_COMMAND:
#ifdef HAVE_COMMAND
if (command_network_send((const char*)optarg))
exit(0);
else
retroarch_fail(1, "network_cmd_send()");
#endif
break;
#endif