Skip to content

Conversation

@niu541412
Copy link
Contributor

@niu541412 niu541412 commented Jan 12, 2026

Apple renamed kIOMasterPortDefault to kIOMainPortDefault starting with macOS 12. This patch adds a preprocessor check to maintain compatibility with older development environments. Both kIOMasterPortDefault or kIOMainPortDefault are synonyms for 0.

Refs:
kIOMainPortDefault
kIOMasterPortDefault

Summary

Related issue (required for new logos for new distros)

Closes #

Changes

Checklist

  • I have tested my changes locally.

@CarterLi CarterLi closed this in 3d84ad1 Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant