FreeBSD build
This commit is contained in:
@@ -66,7 +66,7 @@ void make_thread_background()
|
||||
SetThreadPriorityBoost(GetCurrentThread(), true);
|
||||
SetThreadPriority(GetCurrentThread(), THREAD_MODE_BACKGROUND_BEGIN);
|
||||
SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_IDLE);
|
||||
#elif !defined(__APPLE__)
|
||||
#elif !defined(__APPLE__) && !defined(__FreeBSD__)
|
||||
sched_param param;
|
||||
param.sched_priority = 0;
|
||||
if (sched_setscheduler(0, SCHED_IDLE, ¶m) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user