Skip to content

Commit

Permalink
Merge pull request #61 from jdizzle/jdel/no-cgo-on-linux
Browse files Browse the repository at this point in the history
serial_linux/posix: don't use _posix if cgo is enabled on linux
  • Loading branch information
tarm authored Sep 24, 2017
2 parents 55363cc + d7d6d1a commit 794054c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion serial_linux.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux,!cgo
// +build linux

package serial

Expand Down
2 changes: 1 addition & 1 deletion serial_posix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !windows,cgo
// +build !windows,!linux,cgo

package serial

Expand Down

0 comments on commit 794054c

Please sign in to comment.