From 8362e2c49771891922899e2de4741dd0203ce376 Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Tue, 11 Jun 2024 23:26:13 +0300 Subject: [PATCH] fixed windows qt build --- src/core/libraries/kernel/time_management.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/libraries/kernel/time_management.cpp b/src/core/libraries/kernel/time_management.cpp index 19f2847e..a4362e28 100644 --- a/src/core/libraries/kernel/time_management.cpp +++ b/src/core/libraries/kernel/time_management.cpp @@ -9,12 +9,12 @@ #include "core/libraries/libs.h" #ifdef _WIN64 -#include #include +#include // http://stackoverflow.com/a/31411628/4725495 static u32(__stdcall* NtDelayExecution)(BOOL Alertable, PLARGE_INTEGER DelayInterval) = - (u32(__stdcall*)(BOOL, PLARGE_INTEGER))GetProcAddress(GetModuleHandle("ntdll.dll"), + (u32(__stdcall*)(BOOL, PLARGE_INTEGER))GetProcAddress(GetModuleHandleA("ntdll.dll"), "NtDelayExecution"); #else #include