Memory (macOS): updates algorithm in order not to use hw.memsize_usable which is available on newer macOS version

Adds a new CMake option to use usable memory size at the same time

Fixes #2171
This commit is contained in:
李通洲
2026-01-29 09:34:50 +08:00
parent d698be6239
commit dc04273bd7
3 changed files with 24 additions and 15 deletions
+3
View File
@@ -258,6 +258,9 @@ void ffListFeatures(void)
#if FF_WIN7_COMPAT
"Windows 7 Compatibility\n"
#endif
#if FF_APPLE_MEMSIZE_USABLE
"Apple memsize_usable\n"
#endif
""
, stdout);
}