1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-27 11:06:49 +00:00

Merge branch 'fixbuild' into 'master'

Fix build for FreeBSD

See merge request OpenMW/openmw!746
This commit is contained in:
Andrei Kortunov 2021-04-16 06:55:02 +00:00
commit b49e63bd12

View file

@ -50,7 +50,7 @@ namespace Misc
{ {
void setCurrentThreadIdlePriority() void setCurrentThreadIdlePriority()
{ {
rtprio prio; struct rtprio prio;
prio.type = RTP_PRIO_IDLE; prio.type = RTP_PRIO_IDLE;
prio.prio = RTP_PRIO_MAX; prio.prio = RTP_PRIO_MAX;
if (rtprio_thread(RTP_SET, 0, &prio) == 0) if (rtprio_thread(RTP_SET, 0, &prio) == 0)