FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-114099: Modify preprocessor symbol usage to support older macOS SDKs by freakboy3742 · Pull Request #118073 · python/cpython · GitHub

/ cpython Public

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

Merged
ned-deily merged 2 commits into
python:mainfrom
freakboy3742:old-macos-targets
Apr 19, 2024
Merged

gh-114099: Modify preprocessor symbol usage to support older macOS SDKs#118073
ned-deily merged 2 commits into
python:mainfrom
freakboy3742:old-macos-targets

Conversation

freakboy3742 commented Apr 19, 2024
edited
Loading

Copy link
Copy Markdown
Contributor

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

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

_testexternalinspection.c doesn't check for undefined TARGET_OS_OSX platform_triplet.c uses possibly undefined TARGET_OS_* macros

2 participants


Back | FazBrowse Home | New Git URL