From c1317cbad7e3d8a9b9c58ada435e6547d0ff3a7f Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Tue, 4 Sep 2018 18:47:12 +0200 Subject: [PATCH] No web UI if no threads --- core/nullDC.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/nullDC.cpp b/core/nullDC.cpp index 0598bcc33..624aa6fdc 100755 --- a/core/nullDC.cpp +++ b/core/nullDC.cpp @@ -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