From 95004d1a52648581ca88887173bc68737c1d7b6e Mon Sep 17 00:00:00 2001 From: David Reid Date: Sat, 23 Jun 2018 13:29:11 +1000 Subject: [PATCH] Fix compilation error on Apple platforms. --- mini_al.h | 2 ++ 1 file changed, 2 insertions(+) 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) {