mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-03 05:49:41 +03:00
Fix clang compile
This commit is contained in:
@@ -124,9 +124,13 @@ float GetCPUUsage()
|
||||
|
||||
float GetCPUUsage()
|
||||
{
|
||||
#ifdef ANDROID
|
||||
return 0;
|
||||
#else
|
||||
double loadavg[3];
|
||||
|
||||
getloadavg( loadavg, 3 );
|
||||
return loadavg[0];
|
||||
#endif
|
||||
}
|
||||
#endif //POSIX
|
||||
|
||||
Reference in New Issue
Block a user