mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
Fix build
This commit is contained in:
parent
edd5e2c8e3
commit
0679cfeb41
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ void __maps_init(void) {
|
|||
|
||||
privileged bool __maps_lock(void) {
|
||||
struct CosmoTib *tib;
|
||||
if (__tls_enabled)
|
||||
if (!__tls_enabled)
|
||||
return false;
|
||||
tib = __get_tls_privileged();
|
||||
if (atomic_fetch_add_explicit(&tib->tib_relock_maps, 1, memory_order_relaxed))
|
||||
|
|
Loading…
Reference in a new issue