Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Fix Issue 22439 - OpenBSD: Sync mman.d
Browse files Browse the repository at this point in the history
  • Loading branch information
ibara authored and dlang-bot committed Oct 27, 2021
1 parent e8121cc commit 056db3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/sys/openbsd/sys/mman.d
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ import core.sys.posix.sys.types;

alias MAP_ANONYMOUS = MAP_ANON;
enum MAP_STACK = 0x4000;
enum MAP_CONCEAL = 0x8000;

enum MAP_FLAGMASK = 0x7ff7;
enum MAP_FLAGMASK = 0xfff7;

alias MAP_COPY = MAP_PRIVATE;
enum MAP_FILE = 0;
Expand All @@ -45,7 +46,6 @@ static if (__BSD_VISIBLE)
enum MADV_FREE = 6;

int madvise(void *, size_t, int);
int mincore(const(void) *, size_t, char *);
int minherit(void *, size_t, int);
void* mquery(void *, size_t, int, int, int, off_t);
}

0 comments on commit 056db3f

Please sign in to comment.