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

fixes some compiler errors for darwin in #21094 #22009

Merged
merged 2 commits into from
Nov 19, 2024

Conversation

D-Berg
Copy link
Contributor

@D-Berg D-Berg commented Nov 17, 2024

Fixes most of the compiler errors in #21094 regarding darwin. Changed the functions to return/take *os_log_t instead of os_log_t as it seems that os_log_t is an alias for a pointer in apples docs.

@Vexu
Copy link
Member

Vexu commented Nov 17, 2024

Seems like os_log_t should be defined as *opaque {} instead.

@D-Berg
Copy link
Contributor Author

D-Berg commented Nov 18, 2024

Updated the PR with the better solution. Thank you.

@Vexu Vexu enabled auto-merge (squash) November 18, 2024 10:27
@Vexu Vexu merged commit b5f9e07 into ziglang:master Nov 19, 2024
10 checks passed
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.

2 participants