Skip to content

Fix Apple SDK comparison#7

Closed
tommaisey wants to merge 3 commits intomainfrom
fix-apple-sdk
Closed

Fix Apple SDK comparison#7
tommaisey wants to merge 3 commits intomainfrom
fix-apple-sdk

Conversation

@tommaisey
Copy link
Collaborator

@tommaisey tommaisey commented Jun 6, 2025

I think in the end I just messed up the constant we're comparing to __MAC_OS_X_VERSION_MIN_REQUIRED.
140000 should have been 101400.

While I was here, I refactored the #defines a tiny bit to evaluate to plain 0s and 1s. I think this is better practice, because you aren't accidentally pasting tokens into places where they might not resolve properly.

And I added an extra space of indentation because the it made nested #ifs easier to read.

Finally I had to make some fixes to the CI build - I guess Github actions has changed out the compiler on us.

@tommaisey tommaisey requested a review from dimitrisudell June 6, 2025 08:39
@tommaisey tommaisey closed this Oct 21, 2025
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