diff --git a/syslog/example_test.go b/syslog/example_test.go index ff2220d..558f17a 100644 --- a/syslog/example_test.go +++ b/syslog/example_test.go @@ -1,3 +1,7 @@ +// +build !windows +// +build !plan9 +// +build !nacl + package syslog_test import ( diff --git a/syslog/syslog.go b/syslog/syslog.go index 91c3f18..f5b8aa1 100644 --- a/syslog/syslog.go +++ b/syslog/syslog.go @@ -1,3 +1,7 @@ +// +build !windows +// +build !plan9 +// +build !nacl + package syslog import ( diff --git a/syslog/syslog_test.go b/syslog/syslog_test.go index aa9c2cb..be77dfe 100644 --- a/syslog/syslog_test.go +++ b/syslog/syslog_test.go @@ -1,3 +1,7 @@ +// +build !windows +// +build !plan9 +// +build !nacl + package syslog import ( diff --git a/term/colorwriter_windows.go b/term/colorwriter_windows.go index fcacda3..b27a036 100644 --- a/term/colorwriter_windows.go +++ b/term/colorwriter_windows.go @@ -1,7 +1,5 @@ // The code in this file is adapted from github.com/mattn/go-colorable. -// +build windows - package term import ( diff --git a/term/terminal_windows_test.go b/term/terminal_windows_test.go index b6da8e3..789cc28 100644 --- a/term/terminal_windows_test.go +++ b/term/terminal_windows_test.go @@ -6,8 +6,6 @@ import ( "testing" ) -// +build windows - type myWriter struct { fd uintptr }