summaryrefslogtreecommitdiffstats
path: root/darwin/DarwinProcessList.c
diff options
context:
space:
mode:
authorAlexander Momchilov <alexandermomchilov@gmail.com>2021-09-23 19:39:13 -0400
committerAlexander Momchilov <alexandermomchilov@gmail.com>2021-09-26 10:58:47 -0400
commitd527bc9132c2adf94666dc5b9593609d357ea1e4 (patch)
tree758baa0f5c2fd7b74bd78e8f434b30dab6ff3f8a /darwin/DarwinProcessList.c
parentdadcb87ad0a72555c4797a0eeaafb3236bf50295 (diff)
Refactor Platform_CompareKernelVersion API
Diffstat (limited to 'darwin/DarwinProcessList.c')
-rw-r--r--darwin/DarwinProcessList.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/darwin/DarwinProcessList.c b/darwin/DarwinProcessList.c
index 1e865f59..bd7821b8 100644
--- a/darwin/DarwinProcessList.c
+++ b/darwin/DarwinProcessList.c
@@ -176,7 +176,7 @@ void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate) {
}
// Disabled for High Sierra due to bug in macOS High Sierra
- bool isScanThreadSupported = !(Platform_CompareKernelVersion(17, 0, 0) >= 0 && Platform_CompareKernelVersion(17, 5, 0) < 0);
+ bool isScanThreadSupported = !Platform_KernelVersionIsBetween((KernelVersion) {17, 0, 0}, (KernelVersion) {17, 5, 0});
if (isScanThreadSupported) {
DarwinProcess_scanThreads(proc);

© 2014-2024 Faster IT GmbH | imprint | privacy policy