diff --git a/mini_al.h b/mini_al.h index 6dc23f5a..1ef9d715 100644 --- a/mini_al.h +++ b/mini_al.h @@ -3715,8 +3715,10 @@ mal_bool32 mal_thread_create__posix(mal_context* pContext, mal_thread* pThread, scheduler = SCHED_FIFO; } #endif +#ifdef MAL_LINUX } else { scheduler = sched_getscheduler(0); +#endif } if (scheduler != -1) {