Skip to content

fix: drop redundant _GNU_SOURCE defines - #67

Merged
aweeri merged 1 commit into
aweeri:extremelywipfrom
nabobalis:pr-fix-gnu-source
Sep 28, 2026
Merged

aweeri merged 1 commit into
aweeri:extremelywipfrom
nabobalis:pr-fix-gnu-source

Conversation

@nabobalis

Copy link
Copy Markdown

g++ and clang++ predefine _GNU_SOURCE for every C++ translation unit on Linux, so the explicit defines only produced redefinition warnings. None of the four files use a GNU-only symbol, and the macro is meaningless on the macOS and mingw targets.

g++ and clang++ predefine _GNU_SOURCE for every C++ translation unit on Linux, so the explicit defines only produced redefinition warnings. None of the four files use a GNU-only symbol, and the macro is meaningless on the macOS and mingw targets.
@aweeri
aweeri merged commit 8dbcca8 into aweeri:extremelywip Sep 28, 2026
1 check passed
@nabobalis
nabobalis deleted the pr-fix-gnu-source branch September 28, 2026 22:51
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