getloadavg() is unsupported on Qnx

This commit is contained in:
Ni2c2k 2014-12-16 20:09:40 +05:00
parent ff315585d9
commit ab91e3eed2
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ int ThreadExecutor::handleRead(int rpipe, unsigned int &result)
bool ThreadExecutor::checkLoadAverage(size_t nchildren)
{
#ifdef __CYGWIN__ // getloadavg() is unsupported on Cygwin.
#if defined(__CYGWIN__) || defined(__QNX__) // getloadavg() is unsupported on Cygwin, Qnx.
return true;
#else
if (!nchildren || !_settings._loadAverage) {