Fix compilation error on Apple platforms.

This commit is contained in:
David Reid
2018-06-23 13:29:11 +10:00
parent 037073c95d
commit 95004d1a52
+2
View File
@@ -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) {