aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mem_bsd.go
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2018-09-12 14:18:45 +0200
committerTobias Klauser <tobias.klauser@gmail.com>2018-09-12 18:26:54 +0000
commitb07f60b97ff5ea9ae4cf21b549e9d25ccd695f36 (patch)
tree2450d1aa9c2fa7fe458397cbae8f16e3cfe3e46a /src/runtime/mem_bsd.go
parentc56dcd5fc7cd926b9d4a9c96a699a12f832317f1 (diff)
downloadgo-b07f60b97ff5ea9ae4cf21b549e9d25ccd695f36.tar.gz
go-b07f60b97ff5ea9ae4cf21b549e9d25ccd695f36.zip
runtime: use functions from mem_bsd.go on Darwin
The implementations of the functions in mem_darwin.go is identical to the ones defined in mem_bsd.go for all other BSD-like GOOSes. Also use them on Darwin. Change-Id: Ie7c170c1a50666475e79599471081cd85f0837ad Reviewed-on: https://go-review.googlesource.com/134875 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/mem_bsd.go')
-rw-r--r--src/runtime/mem_bsd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mem_bsd.go b/src/runtime/mem_bsd.go
index cc70e806ea..13065b61d4 100644
--- a/src/runtime/mem_bsd.go
+++ b/src/runtime/mem_bsd.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build dragonfly freebsd nacl netbsd openbsd solaris
+// +build darwin dragonfly freebsd nacl netbsd openbsd solaris
package runtime