Fix compilation with NOTHREADS

This commit is contained in:
indev committed 2023-11-13 01:35:49 +03:00
1 parent 994fd6354f
commit 2fe912eebf
1 file changed
+4
+4
View File
@@ -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)(