Merge branch 'v0.20.x'
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
#include <sched.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <unistd.h>
|
||||
#elif defined(WIN32)
|
||||
#elif defined(_WIN32)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
@@ -71,7 +71,7 @@ SetThreadIdlePriority() noexcept
|
||||
|
||||
ioprio_set_idle();
|
||||
|
||||
#elif defined(WIN32)
|
||||
#elif defined(_WIN32)
|
||||
SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_IDLE);
|
||||
#endif
|
||||
};
|
||||
|
Reference in New Issue
Block a user