mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 01:04:02 +02:00
Fix compilation error on Apple platforms.
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user