mirror of
https://github.com/golang/go
synced 2024-11-21 23:24:41 -07:00
runtime: add MAP_ANONYMOUS as a valid synonym for MAP_ANON in NetBSD
This commit is contained in:
parent
bfc8f28068
commit
affde2d07f
@ -45,9 +45,10 @@ const (
|
|||||||
PROT_WRITE = C.PROT_WRITE
|
PROT_WRITE = C.PROT_WRITE
|
||||||
PROT_EXEC = C.PROT_EXEC
|
PROT_EXEC = C.PROT_EXEC
|
||||||
|
|
||||||
MAP_ANON = C.MAP_ANON
|
MAP_ANON = C.MAP_ANON
|
||||||
MAP_PRIVATE = C.MAP_PRIVATE
|
MAP_ANONYMOUS = C.MAP_ANON
|
||||||
MAP_FIXED = C.MAP_FIXED
|
MAP_PRIVATE = C.MAP_PRIVATE
|
||||||
|
MAP_FIXED = C.MAP_FIXED
|
||||||
|
|
||||||
MADV_DONTNEED = C.MADV_DONTNEED
|
MADV_DONTNEED = C.MADV_DONTNEED
|
||||||
MADV_FREE = C.MADV_FREE
|
MADV_FREE = C.MADV_FREE
|
||||||
|
Loading…
Reference in New Issue
Block a user