From 36d98a8b5acb4640e5d1541304ec6d41362d3063 Mon Sep 17 00:00:00 2001 From: chrchr-github <78114321+chrchr-github@users.noreply.github.com> Date: Sat, 30 Jul 2022 14:56:35 +0200 Subject: [PATCH] Fix #11196 Enable use of getloadavg() on Cygwin (#4313) --- cli/processexecutor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/processexecutor.cpp b/cli/processexecutor.cpp index 47e7cb508..4e5a904cc 100644 --- a/cli/processexecutor.cpp +++ b/cli/processexecutor.cpp @@ -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