mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-30 14:42:00 -08:00
18 lines
225 B
Go
18 lines
225 B
Go
// +build !linux appengine
|
|
|
|
package msgp
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
// TODO: darwin, BSD support
|
|
|
|
func adviseRead(mem []byte) {}
|
|
|
|
func adviseWrite(mem []byte) {}
|
|
|
|
func fallocate(f *os.File, sz int64) error {
|
|
return f.Truncate(sz)
|
|
}
|