mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-08-24 16:24:47 +03:00
potential fix for macOS issue #697
This commit is contained in:
parent
70fefec837
commit
96b55bd0bb
2 changed files with 5 additions and 5 deletions
|
@ -275,7 +275,7 @@ static mi_decl_noinline void mi_recurse_exit_prim(void) {
|
|||
|
||||
static bool mi_recurse_enter(void) {
|
||||
#if defined(__APPLE__) || defined(MI_TLS_RECURSE_GUARD)
|
||||
if (_mi_preloading()) return true;
|
||||
if (_mi_preloading()) return false;
|
||||
#endif
|
||||
return mi_recurse_enter_prim();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue