More clang fixes

This commit is contained in:
SChernykh
2021-08-23 11:44:26 +02:00
parent 4a5691e349
commit 39a8c68ab7
5 changed files with 5 additions and 9 deletions

View File

@@ -50,7 +50,7 @@ void make_thread_background()
SetThreadPriorityBoost(GetCurrentThread(), true);
SetThreadPriority(GetCurrentThread(), THREAD_MODE_BACKGROUND_BEGIN);
SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_IDLE);
#else
#elif !defined(__APPLE__)
sched_param param;
param.sched_priority = 0;
if (sched_setscheduler(0, SCHED_IDLE, &param) != 0) {