diff --git a/src/prim/windows/prim.c b/src/prim/windows/prim.c index 5ba7aa4f..da664318 100644 --- a/src/prim/windows/prim.c +++ b/src/prim/windows/prim.c @@ -834,7 +834,7 @@ static void NTAPI mi_win_main(PVOID module, DWORD reason, LPVOID reserved) { #endif bool _mi_prim_thread_is_in_threadpool(void) { - #if (MI_ARCH_X64 || MI_ARCH_X86) + #if (MI_ARCH_X64 || MI_ARCH_X86 || MI_ARCH_ARM64) if (win_major_version >= 6) { // check if this thread belongs to a windows threadpool // see: