mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 17:59:37 +00: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