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 _GNU_SOURCE at the top #35

Merged
merged 1 commit into from
Apr 7, 2024
Merged

Define _GNU_SOURCE at the top #35

merged 1 commit into from
Apr 7, 2024

Conversation

norihiro
Copy link
Owner

@norihiro norihiro commented Apr 7, 2024

Description

It is recommended to define _GNU_SOURCE at the top of the file instead of defining __USE_GNU.

How Has This Been Tested?

Checked the build passed on Fedora 38.

General checklist

  • The commit is reviewed by yourself.
  • The code is tested.
  • Document is up to date or not necessary to be changed.
  • The commit is compatible with repository's license.

It is recommended to define _GNU_SOURCE at the top of the file instead
of defining __USE_GNU.
@norihiro norihiro merged commit e402ce1 into main Apr 7, 2024
8 checks passed
@norihiro norihiro deleted the define-_GNU_SOURCE branch April 7, 2024 13:55
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.

1 participant