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

Remove some unused headers #90

Merged
merged 1 commit into from
Apr 19, 2024
Merged

Remove some unused headers #90

merged 1 commit into from
Apr 19, 2024

Conversation

8051Enthusiast
Copy link
Contributor

I was trying to compile this under windows using mingw, and some headers are not available there.
However, it seems like those headers are not used anywhere in the library anyway (at least it compiles fine on windows after i remove these).
At least for pwd.h and err.h I'm fairly certain that they're not used anywhere since it would be weird to use them in this library, for sys/mman.h it would certainly be plausible they'd be used here, but I could not find any mmap/madvice/mlock calls.

These headers are not supported in mingw, but they do not seem
to be used in any case.
@smarco smarco merged commit 6bf5ba0 into smarco:development Apr 19, 2024
1 check passed
@smarco
Copy link
Owner

smarco commented Apr 19, 2024

utils/commons.h is a programming malpractice I should have removed a long time ago. Thanks for the PR.

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