1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-06 23:52:38 -05:00

Merge branch 'dev' into evo

This commit is contained in:
XMRig
2020-06-10 23:15:27 +07:00

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");