Enable build on solaris (#4115)

This commit is contained in:
Peter Tribble
2017-04-23 19:10:18 +01:00
committed by Harshavardhana
parent 83abad0b37
commit 2b96d9f706
207 changed files with 124947 additions and 3 deletions
+14
View File
@@ -0,0 +1,14 @@
// Copyright 2014 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 go1.4
package unix
import "syscall"
func Unsetenv(key string) error {
// This was added in Go 1.4.
return syscall.Unsetenv(key)
}