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

Define _POSIX_C_SOURCE to be 200112L, as a minimum for C99. #3421

Merged
merged 2 commits into from
Jun 18, 2020

Conversation

alarixnia
Copy link
Contributor

Fixes #3420

Copy link
Contributor

@danh-arm danh-arm left a comment

Choose a reason for hiding this comment

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

This will need a ChangeLog entry and more information in the commit message to summarize why this change is needed.

@danh-arm danh-arm self-assigned this Jun 11, 2020
Strict platforms cannot be expected to accept C99 code as valid
when earlier standards versions are selected.

This helps the programs build on Solaris-like platforms (e.g.
illumos).

Fixes Mbed-TLS#3420

Signed-off-by: nia <[email protected]>
@alarixnia
Copy link
Contributor Author

@danh-arm Done.

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.

_POSIX_C_SOURCE=1 is invalid
3 participants