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

Always check __STDC_LIB_EXT1__ before __STDC_WANT_LIB_EXT1__ #3151

Merged
merged 1 commit into from
Jul 28, 2021

Conversation

rwgk
Copy link
Collaborator

@rwgk rwgk commented Jul 28, 2021

Accommodating environments that define __STDC_WANT_LIB_EXT1__ even if __STDC_LIB_EXT1__ is not defined by the implementation.

Follow-on to PR #3129.

Fixes Google-internal macos builds, but this is generally more correct.

Changelog not needed: PR #3129 was not released yet.

… __STDC_LIB_EXT1__ is not defined by the implementation.

Follow-on to PR pybind#3129.
@rwgk rwgk requested review from henryiii and Skylion007 July 28, 2021 12:37
@rwgk
Copy link
Collaborator Author

rwgk commented Jul 28, 2021

Thanks Henry!

@rwgk rwgk merged commit f4721a7 into pybind:master Jul 28, 2021
@rwgk rwgk deleted the chrono_h_if_defined_fix branch July 28, 2021 15:59
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Jul 28, 2021
@rwgk rwgk removed the needs changelog Possibly needs a changelog entry label Jul 28, 2021
henryiii pushed a commit to henryiii/pybind11 that referenced this pull request Jul 29, 2021
… __STDC_LIB_EXT1__ is not defined by the implementation. (pybind#3151)

Follow-on to PR pybind#3129.
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