mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 08:48:29 +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) {
|
privileged bool __maps_lock(void) {
|
||||||
struct CosmoTib *tib;
|
struct CosmoTib *tib;
|
||||||
if (__tls_enabled)
|
if (!__tls_enabled)
|
||||||
return false;
|
return false;
|
||||||
tib = __get_tls_privileged();
|
tib = __get_tls_privileged();
|
||||||
if (atomic_fetch_add_explicit(&tib->tib_relock_maps, 1, memory_order_relaxed))
|
if (atomic_fetch_add_explicit(&tib->tib_relock_maps, 1, memory_order_relaxed))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue