From 98277f30e4365f3b35d856fa9cdee2fe01ab862b Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 9 Aug 2022 10:17:54 +0200 Subject: syscall: add Mmap and Munmap on solaris They exist on all other Unix ports, define them on GOOS=solaris as well. Fixes #52875 Change-Id: I7285156b3b48ce12fbcc6d1d88865540a5c51a21 Reviewed-on: https://go-review.googlesource.com/c/go/+/413374 Run-TryBot: Tobias Klauser TryBot-Result: Gopher Robot Auto-Submit: Tobias Klauser Reviewed-by: Than McIntosh Reviewed-by: Bryan Mills --- src/syscall/mmap_unix_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/syscall/mmap_unix_test.go') diff --git a/src/syscall/mmap_unix_test.go b/src/syscall/mmap_unix_test.go index 3e9c08d67d..5e08b20679 100644 --- a/src/syscall/mmap_unix_test.go +++ b/src/syscall/mmap_unix_test.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. -//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris package syscall_test -- cgit v1.2.1