From 2fe912eebf900144a08450b81cf30749ac684c23 Mon Sep 17 00:00:00 2001 From: Indev Date: Mon, 13 Nov 2023 01:35:49 +0300 Subject: [PATCH] Fix compilation with NOTHREADS --- src/http-mserv.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/http-mserv.c b/src/http-mserv.c index 8358a2454..7ad84b71f 100644 --- a/src/http-mserv.c +++ b/src/http-mserv.c @@ -87,9 +87,13 @@ Printf_url (const char *url) { boolean startup; +#ifdef HAVE_THREADS I_lock_mutex(&con_mutex); startup = con_startup; I_unlock_mutex(con_mutex); +#else + startup = con_startup; +#endif if (cv_masterserver_debug.value) (startup ? I_OutputMsg : CONS_Printf)(