diff options
Diffstat (limited to 'sched_getscheduler.c')
-rw-r--r-- | sched_getscheduler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sched_getscheduler.c b/sched_getscheduler.c index 2e751d5..5e7728a 100644 --- a/sched_getscheduler.c +++ b/sched_getscheduler.c @@ -52,7 +52,7 @@ sched_getscheduler(pid_t pid) if (pid != selfPid) { - HANDLE h = OpenProcess(PROCESS_QUERY_INFORMATION, FALSE, (DWORD) pid); + HANDLE h = OpenProcess(PROCESS_QUERY_INFORMATION, PTW32_FALSE, (DWORD) pid); if (NULL == h) { |