potential fix for macOS issue #697

This commit is contained in:
Daan 2023-03-22 09:48:40 -07:00
parent 70fefec837
commit 96b55bd0bb
2 changed files with 5 additions and 5 deletions

View file

@ -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();
}