mirror of
https://github.com/42wim/matterbridge.git
synced 2025-02-07 18:14:15 +01:00
19 lines
298 B
Go
19 lines
298 B
Go
//go:build (!linux && !tinygo && !windows) || appengine
|
|
// +build !linux,!tinygo,!windows 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)
|
|
}
|