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

fix build on mac #58

Merged
merged 2 commits into from
Jan 31, 2025
Merged

fix build on mac #58

merged 2 commits into from
Jan 31, 2025

Conversation

mcb5637
Copy link
Contributor

@mcb5637 mcb5637 commented Nov 20, 2024

  • conditional remove only on apple arm

POBR only changes on non x86 architectures, where it did not work at all before

@mcb5637 mcb5637 changed the base branch from main to develop November 20, 2024 13:43
@mcb5637 mcb5637 marked this pull request as ready for review January 27, 2025 13:12
@mcb5637 mcb5637 requested a review from liss-h January 27, 2025 13:12
Copy link
Contributor

@liss-h liss-h left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was pondering if there is a way to do this that gives better error messages, but with the current structure of the library we can't relly use the #error directive (because the header is included by default and you are not expected to include it manually).

The only other option would be to provide an empty struct for the other architectures, but I don't think thats necessarily better.

So with that in mind I'm going to approve this.

@liss-h liss-h merged commit e6e2db8 into develop Jan 31, 2025
5 of 6 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