Skip to content

Commit b15a054

Browse files
authored
feat: differentation of solaris and illumos (#80)
1 parent c541671 commit b15a054

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

flock_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Use of this source code is governed by the BSD 3-Clause
44
// license that can be found in the LICENSE file.
55

6-
//go:build !aix && !solaris && !windows
6+
//go:build !aix && (!solaris || illumos) && !windows
77

88
package flock
99

flock_unix_variants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// This code is adapted from the Go package:
1616
// cmd/go/internal/lockedfile/internal/filelock
1717

18-
//go:build aix || solaris
18+
//go:build aix || (solaris && !illumos)
1919

2020
package flock
2121

0 commit comments

Comments
 (0)