1
0
mirror of https://github.com/golang/go synced 2024-11-21 11:34:44 -07:00

runtime: add MAP_ANONYMOUS as a valid synonym for MAP_ANON in NetBSD

This commit is contained in:
Charlotte Koch 2024-11-05 15:49:35 -08:00
parent bfc8f28068
commit affde2d07f

View File

@ -45,9 +45,10 @@ const (
PROT_WRITE = C.PROT_WRITE
PROT_EXEC = C.PROT_EXEC
MAP_ANON = C.MAP_ANON
MAP_PRIVATE = C.MAP_PRIVATE
MAP_FIXED = C.MAP_FIXED
MAP_ANON = C.MAP_ANON
MAP_ANONYMOUS = C.MAP_ANON
MAP_PRIVATE = C.MAP_PRIVATE
MAP_FIXED = C.MAP_FIXED
MADV_DONTNEED = C.MADV_DONTNEED
MADV_FREE = C.MADV_FREE