Add HAVE_NETWORKING ifdef around these menu entries

This commit is contained in:
twinaphex 2018-09-27 14:17:34 +02:00
parent 9dde33b5c1
commit c9b6df10f2

View File

@ -7295,6 +7295,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
PARSE_ACTION, false) == 0)
count++;
#ifdef HAVE_NETWORKING
if (menu_displaylist_parse_settings_enum(menu, info,
MENU_ENUM_LABEL_ACCOUNTS_YOUTUBE,
PARSE_ACTION, false) == 0)
@ -7304,6 +7305,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
MENU_ENUM_LABEL_ACCOUNTS_TWITCH,
PARSE_ACTION, false) == 0)
count++;
#endif
if (count == 0)
menu_entries_append_enum(info->list,