summaryrefslogtreecommitdiffstats
path: root/src/cmd/internal/bio/buf_nommap.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/internal/bio/buf_nommap.go')
-rw-r--r--src/cmd/internal/bio/buf_nommap.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cmd/internal/bio/buf_nommap.go b/src/cmd/internal/bio/buf_nommap.go
new file mode 100644
index 0000000..f43c67a
--- /dev/null
+++ b/src/cmd/internal/bio/buf_nommap.go
@@ -0,0 +1,11 @@
+// Copyright 2019 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd
+
+package bio
+
+func (r *Reader) sliceOS(length uint64) ([]byte, bool) {
+ return nil, false
+}