mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 05:54:59 +02:00
Apple go on making it harder and harder to support multiple versions of their pathetic operating system in one code base. kIOMainPortDefault is the "non-deprecated" replacement for kIOMasterPortDefault. However, it is now marked as being available only on macOS 12 and later so it refuses to build in a codebase designed to run on earlier versions of macOS. Le bubbling sigh. According to https://developer.apple.com/documentation/iokit/kiomasterportdefault?language=objc passing NULL has the same effect and avoids the stupid warning. Hopefully this will work till Apple decides to spend their trillion dollars doing more stupid shit.
8.9 KiB
Vendored
8.9 KiB
Vendored