Commit 54c8299b authored by Jasem Mutlaq's avatar Jasem Mutlaq

Fix build on BSD

parent cef2ab20
Pipeline #48411 passed with stage
in 6 minutes and 16 seconds
......@@ -1764,7 +1764,7 @@ double getAvailableRAM()
//kB to bytes
return (memory.toLong() * 1024.0);
#elif defined(Q_OS_WIN32)
MEMORYSTATUSEX memory_status;
ZeroMemory(&memory_status, sizeof(MEMORYSTATUSEX));
memory_status.dwLength = sizeof(MEMORYSTATUSEX);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment