Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use kIOMasterPortDefault if compiled with SDK<12 #3

Conversation

sixtysecrun
Copy link

Compiling against Apple SDK older than 12.0 ends with errors:

error: use of undeclared identifier 'kIOMainPortDefault'

That is because kIOMainPortDefault was introduced in SDK 12.0 (Monterey) and before that the kIOMasterPortDefault should be used.

kIOMasterPortDefault was deprecated and was removed in SDK 12.0

References:

@slotThe slotThe force-pushed the Upgrade-DriverKit-VirtualHIDDevice branch from 261e4ef to a96f039 Compare October 25, 2023 05:51
@vosaica vosaica merged commit 93d7f4d into vosaica:Upgrade-DriverKit-VirtualHIDDevice Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants