mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-01 18:57:37 +00:00
common/fdlimit: build on DragonflyBSD (#21241)
This commit is contained in:
parent
467126234f
commit
514b4ce7c5
1 changed files with 3 additions and 3 deletions
|
|
@ -14,15 +14,15 @@
|
||||||
// You should have received a copy of the GNU Lesser General Public License
|
// You should have received a copy of the GNU Lesser General Public License
|
||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build freebsd
|
//go:build freebsd || dragonfly
|
||||||
// +build freebsd
|
// +build freebsd dragonfly
|
||||||
|
|
||||||
package fdlimit
|
package fdlimit
|
||||||
|
|
||||||
import "syscall"
|
import "syscall"
|
||||||
|
|
||||||
// This file is largely identical to fdlimit_unix.go,
|
// This file is largely identical to fdlimit_unix.go,
|
||||||
// but Rlimit fields have type int64 on FreeBSD so it needs
|
// but Rlimit fields have type int64 on *BSD so it needs
|
||||||
// an extra conversion.
|
// an extra conversion.
|
||||||
|
|
||||||
// Raise tries to maximize the file descriptor allowance of this process
|
// Raise tries to maximize the file descriptor allowance of this process
|
||||||
Loading…
Reference in a new issue