From 9fe42edca3cdfb3ab1b5ac5d61bcd68769ad05dc Mon Sep 17 00:00:00 2001 From: MihailRis Date: Fri, 4 Sep 2026 00:09:31 +0300 Subject: [PATCH] fix the fix --- src/util/platform.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/util/platform.cpp b/src/util/platform.cpp index 36b36767c..278fbaa1b 100644 --- a/src/util/platform.cpp +++ b/src/util/platform.cpp @@ -267,12 +267,12 @@ public: } bool isActive() const override { -#ifndef _WIN32 +#ifdef __linux__ if (kill(pid, 0) == 0) { return true; } return errno != ESRCH; -#else +#elif defined(_WIN32) if (processHandle == nullptr) { return false; } @@ -281,6 +281,9 @@ public: return exitCode == STILL_ACTIVE; } return false; +#elif defined(__APPLE__) + // FIXME: completely implement SystemProcess for MacOS + return false; #endif }