1
0
Fork 0

xz: Fix build with --disable-threads.

Esse commit está contido em:
Lasse Collin 2022-04-14 20:53:16 +03:00
commit 5d8f3764ef
1 arquivos alterados com 4 adições e 0 exclusões

Ver arquivo

@ -91,7 +91,11 @@ hardware_threads_get(void)
extern bool
hardware_threads_is_mt(void)
{
#ifdef MYTHREAD_ENABLED
return threads_max > 1 || threads_are_automatic;
#else
return false;
#endif
}