harec

[hare] Hare compiler, written in C11 for POSIX OSs
Log | Files | Refs | README | LICENSE

commit 0d514bbdaf782b79e4cae239baba336aacd35876
parent 269edfdb7d1fa78663cc7d09591fad90bd15d54a
Author: Bor Grošelj Simić <bgs@turminal.net>
Date:   Tue, 28 Feb 2023 16:36:06 +0100

fix MAP_SYNC constant

Signed-off-by: Bor Grošelj Simić <bgs@turminal.net>

Diffstat:
Mrt/+linux/syscalls.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt/+linux/syscalls.ha b/rt/+linux/syscalls.ha @@ -66,7 +66,7 @@ export def MAP_POPULATE: uint = 0x8000; export def MAP_NONBLOCK: uint = 0x10000; export def MAP_STACK: uint = 0x20000; export def MAP_HUGETLB: uint = 0x40000; -export def MAP_SYNC: uint = 0x8000u; +export def MAP_SYNC: uint = 0x80000; export def MAP_FIXED_NOREPLACE: uint = 0x100000; export def MAP_FILE: uint = 0; export def MAP_HUGE_SHIFT: uint = 26;