Skip to content

Commit a063fcf

Browse files
authored
Merge pull request #99 from ipfs/fix/freebsd
fix: fix build on 32 bit BSDs
2 parents 40917c0 + 2309ee0 commit a063fcf

File tree

3 files changed

+4
-63
lines changed

3 files changed

+4
-63
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// +build darwin,arm
1+
// +build darwin freebsd dragonfly netbsd openbsd
2+
// +build 386 arm
23

34
package poll
45

@@ -25,8 +26,6 @@ func New(fd int) (p *Poller, err error) {
2526
Ident: uint32(fd),
2627
Filter: unix.EVFILT_WRITE,
2728
Flags: unix.EV_ADD | unix.EV_ENABLE | unix.EV_ONESHOT,
28-
Fflags: 0,
29-
Data: 0,
3029
Udata: nil,
3130
}
3231
return p, nil
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// +build darwin,amd64 darwin,arm64 freebsd dragonfly netbsd openbsd
1+
// +build darwin freebsd dragonfly netbsd openbsd
2+
// +build amd64 arm64
23

34
package poll
45

ipfs-6-to-7/gx/ipfs/QmaBTcaZbAgei1Z2ksUipLJ2AeEZtqDnyGYAkL7NFJ8pg3/go-reuseport/poll/poll_darwin_386.go

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)