Skip to content
This repository was archived by the owner on Nov 14, 2024. It is now read-only.
This repository was 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

@Crypto2

Description

@Crypto2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions