Merge branch 'dev' into evo

This commit is contained in:
XMRig 2020-06-10 23:15:27 +07:00
commit b974f1dc73
No known key found for this signature in database
GPG key ID: 446A53638BE94409

View file

@ -34,7 +34,7 @@
static inline OSVERSIONINFOEX winOsVersion()
{
using RtlGetVersionFunction = NTSTATUS (*)(LPOSVERSIONINFO);
typedef NTSTATUS (NTAPI *RtlGetVersionFunction)(LPOSVERSIONINFO);
OSVERSIONINFOEX result = { sizeof(OSVERSIONINFOEX), 0, 0, 0, 0, {'\0'}, 0, 0, 0, 0, 0};
HMODULE ntdll = GetModuleHandleW(L"ntdll.dll");