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

MAP_POPULATE is Linux-specific and not declared on other platforms #929

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

leleliu008
Copy link
Contributor

@kelson42 kelson42 added this to the 9.3.0 milestone Aug 30, 2024
@rgaudin
Copy link
Member

rgaudin commented Aug 30, 2024

@leleliu008 is this the only required change to support NetBSD? I'm not sure it makes sense to merge this if not.
In a similar manner, I'm concerned about the HaikuOS define as it could be interpreted as a support intent while AFAIK we don't plan to (unless this is trivial)

@leleliu008
Copy link
Contributor Author

I also file a PR #928

These two PRs to support NetBSD.

@rgaudin
Copy link
Member

rgaudin commented Aug 30, 2024

Great then

@leleliu008
Copy link
Contributor Author

After apply these two patches, I successfully built this project on NetBSD. I myself port this project for NetBSD https://github.com/leleliu008/ppkg-formula-repository-official-core/blob/master/formula/libzim.yml#L12C41-L13

src/file_reader.cpp Outdated Show resolved Hide resolved
@leleliu008 leleliu008 changed the title MAP_POPULATE is Linux-specific and not declared on NetBSD MAP_POPULATE is Linux-specific and not declared on other platforms Aug 30, 2024
@kelson42 kelson42 merged commit cdcbb6c into openzim:main Aug 30, 2024
37 checks passed
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.

5 participants