mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-17 08:17:40 +00:00
#1728 Fixed x86 crash on Windows.
This commit is contained in:
parent
e4779ab6ca
commit
1b928e8bf1
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue