Skip to content

Commit

Permalink
bug: fix the compile error on linux/mips
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Jul 26, 2022
1 parent f70489f commit f2e2fa3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion internal/netpoll/defs_linux_mips64x.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build (mips64 || mips64le) && linux
//go:build (mips64 || mips64le) && linux && poll_opt
// +build mips64 mips64le
// +build linux
// +build poll_opt

package netpoll

Expand Down
3 changes: 2 additions & 1 deletion internal/netpoll/defs_linux_mipsx.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build (mips || mipsle) && linux
//go:build (mips || mipsle) && linux && poll_opt
// +build mips mipsle
// +build linux
// +build poll_opt

package netpoll

Expand Down

0 comments on commit f2e2fa3

Please sign in to comment.