Skip to content

gh-114099: Modify preprocessor symbol usage to support older macOS SDKs #118073

New issue

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

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

Already on GitHub? # to your account

Merged
merged 2 commits into from
Apr 19, 2024

Conversation

freakboy3742
Copy link
Contributor

@freakboy3742 freakboy3742 commented Apr 19, 2024

Older macOS SDKs don't expose the TARGET_OS_* symbols; this PR makes the preprocessor usage compatible with those older SDKs.

As discussed on PR #117887, this consolidates the two separate PRs (#117887 and #117892, both submitted by @jmroot) with an additional change to Python/marshal.c, and tags the fix against the iOS feature that introduced the issue.

Fixes #117891
Fixes #117886

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
2 participants