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

Use ifndef instead of pragma #2296

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

gullradriel
Copy link
Member

For codebase consistency and portability, it's better to use #ifndef HEADERS than pragmas.

That PR is doing the switch for all the concerned code.

More informations about #ifndef vs prama in the following PR comment : #2290 (comment)

@gullradriel gullradriel merged commit fcc52e8 into portapack-mayhem:next Oct 14, 2024
3 checks passed
@gullradriel gullradriel deleted the remove-pragmas branch October 14, 2024 16:26
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