Commit 95004d1a authored by David Reid's avatar David Reid

Fix compilation error on Apple platforms.

parent 037073c9
...@@ -3715,8 +3715,10 @@ mal_bool32 mal_thread_create__posix(mal_context* pContext, mal_thread* pThread, ...@@ -3715,8 +3715,10 @@ mal_bool32 mal_thread_create__posix(mal_context* pContext, mal_thread* pThread,
scheduler = SCHED_FIFO; scheduler = SCHED_FIFO;
} }
#endif #endif
#ifdef MAL_LINUX
} else { } else {
scheduler = sched_getscheduler(0); scheduler = sched_getscheduler(0);
#endif
} }
if (scheduler != -1) { if (scheduler != -1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment