Fix #11196 Enable use of getloadavg() on Cygwin (#4313)

This commit is contained in:
chrchr-github 2022-07-30 14:56:35 +02:00 committed by GitHub
parent 754250cd57
commit 36d98a8b5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ int ProcessExecutor::handleRead(int rpipe, unsigned int &result)
bool ProcessExecutor::checkLoadAverage(size_t nchildren)
{
#if defined(__CYGWIN__) || defined(__QNX__) || defined(__HAIKU__) // getloadavg() is unsupported on Cygwin, Qnx, Haiku.
#if defined(__QNX__) || defined(__HAIKU__) // getloadavg() is unsupported on Qnx, Haiku.
(void)nchildren;
return true;
#else