Skip to content
Snippets Groups Projects
Commit 510c6641 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed compilation failure on Windows.

parent 82bd6bcd
Branches
Tags
No related merge requests found
...@@ -101,7 +101,7 @@ void SystemResources::getRUS(double& load_avg, long int& pg_avail, ...@@ -101,7 +101,7 @@ void SystemResources::getRUS(double& load_avg, long int& pg_avail,
majflt = -1; majflt = -1;
#endif #endif
#if !defined(__MINGW32__) && !defined(__CYGWIN32__) #if !defined(__MINGW32__) && !defined(__CYGWIN32__) && !defined(__CYGWIN__) && !defined(__MINGW64__) && !defined(__CYGWIN64__)
getloadavg(&load_avg, 1); getloadavg(&load_avg, 1);
#else #else
load_avg = -1.0; load_avg = -1.0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment