diff --git a/src/detection/swap/swap_apple.c b/src/detection/swap/swap_apple.c index acfb734f9..1f87595d5 100644 --- a/src/detection/swap/swap_apple.c +++ b/src/detection/swap/swap_apple.c @@ -11,8 +11,10 @@ const char* ffDetectSwap(FFlist* result) { } if (xsw.xsu_total == 0) { - if (ffSysctlGetInt("vm.compressor_mode", 4) <= 2) { - return NULL; // Swap is disabled + if (!__builtin_available(macOS 26.0, *)) { + if (ffSysctlGetInt("vm.compressor_mode", 4) <= 2) { // No longer available in macOS 26.0 + return NULL; // Swap is disabled + } } }