mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-08 04:40:06 +03:00
* Initial plan * Fix macOS build: Remove @available check causing linker error The @available check in GetDisplayName was causing the linker to look for __isPlatformVersionAtLeast symbol which is not available when targeting macOS 10.14. Since this function is only used for logging, we simplify it to return "Unknown" for all displays, avoiding the runtime availability check. Co-authored-by: rustdesk <71636191+rustdesk@users.noreply.github.com> * fix(macOS): ___isPlatformVersionAtLeast is not available in macOS 10.14 Signed-off-by: fufesou <linlong1266@gmail.com> --------- Signed-off-by: fufesou <linlong1266@gmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: rustdesk <71636191+rustdesk@users.noreply.github.com>