summaryrefslogtreecommitdiff
path: root/sched_setscheduler.c
diff options
context:
space:
mode:
Diffstat (limited to 'sched_setscheduler.c')
-rw-r--r--sched_setscheduler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sched_setscheduler.c b/sched_setscheduler.c
index 54e0c9b..47564d5 100644
--- a/sched_setscheduler.c
+++ b/sched_setscheduler.c
@@ -54,7 +54,7 @@ sched_setscheduler(pid_t pid, int policy)
if (pid != selfPid)
{
- HANDLE h = OpenProcess(PROCESS_SET_INFORMATION, FALSE, (DWORD) pid);
+ HANDLE h = OpenProcess(PROCESS_SET_INFORMATION, PTW32_FALSE, (DWORD) pid);
if (NULL == h)
{