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

Set _GNU_SOURCE globally #1880

Closed
wants to merge 2 commits into from
Closed

Set _GNU_SOURCE globally #1880

wants to merge 2 commits into from

Conversation

rubenk
Copy link
Contributor

@rubenk rubenk commented Aug 11, 2016

One minor issue is that Python.h unconditionally defines
_GNU_SOURCE (https://bugs.python.org/issue1045893) so we
need to use AH_VERBATIM instead of AC_DEFINE.

One minor issue is that Python.h unconditionally defines
_GNU_SOURCE (https://bugs.python.org/issue1045893) so we
need to use AH_VERBATIM instead of AC_DEFINE.
Now that we set _GNU_SOURCE globally it isn't needed anymore.
@rubenk rubenk added this to the 5.7 milestone Aug 12, 2016
@octo
Copy link
Member

octo commented Sep 13, 2016

I'm a bit conflicted with this one: on the one hand I don't want contributors to dive into unnecessary GNUisms, on the other hand the continuous integration hooks will let us know when something is truly not portable.

@rubenk
Copy link
Contributor Author

rubenk commented Sep 14, 2016

Indeed. I did this primarily for Solaris, but now that we have Solaris builders, this is not a big issue anymore.

@rubenk rubenk closed this Sep 14, 2016
@rubenk rubenk deleted the gnu-source branch September 14, 2016 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants