Code style fixes for FreeBSD support pull request.

This commit is contained in:
XMRig 2017-10-20 19:54:18 +03:00
parent 9c0fe73102
commit 10df3ec227
3 changed files with 18 additions and 16 deletions

View file

@ -115,7 +115,7 @@ void Platform::setThreadPriority(int priority)
setpriority(PRIO_PROCESS, 0, prio);
#ifdef SCHED_IDLE
# ifdef SCHED_IDLE
if (priority == 0) {
sched_param param;
param.sched_priority = 0;
@ -124,5 +124,5 @@ void Platform::setThreadPriority(int priority)
sched_setscheduler(0, SCHED_BATCH, &param);
}
}
#endif
# endif
}