mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31: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
|
||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//go:build freebsd
|
||||
// +build freebsd
|
||||
//go:build freebsd || dragonfly
|
||||
// +build freebsd dragonfly
|
||||
|
||||
package fdlimit
|
||||
|
||||
import "syscall"
|
||||
|
||||
// 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.
|
||||
|
||||
// Raise tries to maximize the file descriptor allowance of this process
|
||||
Loading…
Reference in a new issue