edsrzf / mmap-go

A portable mmap package for Go
BSD 3-Clause "New" or "Revised" License
938 stars 129 forks source link

Fix build for non windows, darwin, and linux GOOS. #2

Closed dchapes closed 10 years ago

dchapes commented 10 years ago

All the +build OS's have syscall.MAP_ANON now so just use it. However, netbsd was removed due to lack of syscall.SYS_MSYNC.

edsrzf commented 10 years ago

Thanks!