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

Move all _GNU_SOURCE defination to the file head #526

Merged
merged 1 commit into from
Dec 22, 2021

Conversation

Seas0
Copy link
Contributor

@Seas0 Seas0 commented Dec 22, 2021

Accroding to man 7 feature_test_macros' guide line here:
NOTE: In order to be effective, a feature test macro must be defined before including any header files. This can be done either in the compilation command
(cc -DMACRO=value) or by defining the macro within the source code before including any headers. The requirement that the macro must be defined before in‐
cluding any header file exists because header files may freely include one another.

Accroding to man 7 feature_test_macros' guide line
@ptitSeb ptitSeb merged commit 2879cf5 into ptitSeb:master Dec 22, 2021
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.

None yet

2 participants