From 9de8331692c3e4d9c1d10b49dbf204ebfa3aad5b Mon Sep 17 00:00:00 2001 From: MihailRis Date: Thu, 3 Sep 2026 23:58:20 +0300 Subject: [PATCH] fix SystemProcess::isActive macos warning --- src/util/platform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/platform.cpp b/src/util/platform.cpp index 5d5e489bc..36b36767c 100644 --- a/src/util/platform.cpp +++ b/src/util/platform.cpp @@ -267,12 +267,12 @@ public: } bool isActive() const override { -#ifdef __linux__ +#ifndef _WIN32 if (kill(pid, 0) == 0) { return true; } return errno != ESRCH; -#elif defined(_WIN32) +#else if (processHandle == nullptr) { return false; }