Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Compilation under Ubuntu 21.10 fails due to use of MAP_FILE in mmap #36

Open
Crypto2 opened this issue Apr 11, 2022 · 0 comments
Open

Comments

@Crypto2
Copy link

Crypto2 commented Apr 11, 2022

I'm not sure if there are any systems where MAP_FILE matters still, I know in Linux it's ignored. So I just put this in after the Unix includes to fix it:

#ifndef MAP_FILE
#define MAP_FILE 0
#endif

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant