Skip to content

Commit

Permalink
Fix compile issue on MacOS
Browse files Browse the repository at this point in the history
This PR fixes compilation fail on MacOS(darwin), that occurrs after fixing the FreeBSD 14 compile issue described on [issue by hxw](uber#914)
The problem is, that now there are two getSendQueueLen functions defined for darwin platform, which causes compile failure. The fix removes darwin build tag from sockio_bsd file.
  • Loading branch information
moonetic committed Dec 19, 2024
1 parent 48b1eb9 commit f0f3228
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sockio_bsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

//go:build aix || darwin || dragonfly || freebsd || netbsd || openbsd || solaris
// +build aix darwin dragonfly freebsd netbsd openbsd solaris
//go:build aix || dragonfly || freebsd || netbsd || openbsd || solaris
// +build aix dragonfly freebsd netbsd openbsd solaris

package tchannel

Expand Down

0 comments on commit f0f3228

Please sign in to comment.