No web UI if no threads

This commit is contained in:
Flyinghead 2018-09-04 18:47:12 +02:00
parent f202b3b143
commit c1317cbad7
1 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ void plugins_Reset(bool Manual)
//libExtDevice_Reset(Manual);
}
#if !defined(TARGET_NO_WEBUI)
#if !defined(TARGET_NO_WEBUI) && !defined(TARGET_NO_THREADS)
void* webui_th(void* p)
{
@ -165,7 +165,7 @@ int dc_init(int argc,wchar* argv[])
return -1;
}
#if !defined(TARGET_NO_WEBUI)
#if !defined(TARGET_NO_WEBUI) && !defined(TARGET_NO_THREADS)
webui_thd.Start();
#endif