mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-29 11:06:07 +00:00
fixed windows qt build
This commit is contained in:
parent
8612907831
commit
8362e2c497
|
@ -9,12 +9,12 @@
|
|||
#include "core/libraries/libs.h"
|
||||
|
||||
#ifdef _WIN64
|
||||
#include <Windows.h>
|
||||
#include <pthread_time.h>
|
||||
#include <windows.h>
|
||||
|
||||
// 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 <time.h>
|
||||
|
|
Loading…
Reference in a new issue