mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-23 11:15:31 +00:00
Merge remote-tracking branch 'upstream/evo' into evo
This commit is contained in:
commit
e4c8714daa
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
static inline OSVERSIONINFOEX winOsVersion()
|
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};
|
OSVERSIONINFOEX result = { sizeof(OSVERSIONINFOEX), 0, 0, 0, 0, {'\0'}, 0, 0, 0, 0, 0};
|
||||||
|
|
||||||
HMODULE ntdll = GetModuleHandleW(L"ntdll.dll");
|
HMODULE ntdll = GetModuleHandleW(L"ntdll.dll");
|
||||||
|
|
Loading…
Reference in a new issue