Skip to content

Commit

Permalink
agent: fix solaris build
Browse files Browse the repository at this point in the history
Solaris doesn't provide the SO_REUSEPORT socket option.
  • Loading branch information
tklauser committed Oct 11, 2021
1 parent f57f013 commit f38bd6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions agent/sockopt_unix.go → agent/sockopt_reuseport.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !js && !plan9 && !windows
// +build !js,!plan9,!windows
//go:build !js && !plan9 && !solaris && !windows
// +build !js,!plan9,!solaris,!windows

package agent

Expand Down
4 changes: 2 additions & 2 deletions agent/sockopt_unsupported.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build (js && wasm) || plan9 || windows
// +build js,wasm plan9 windows
//go:build (js && wasm) || plan9 || solaris || windows
// +build js,wasm plan9 solaris windows

package agent

Expand Down

0 comments on commit f38bd6a

Please sign in to comment.