From ed1bc4e937879b357178da3c88c043a29a675f34 Mon Sep 17 00:00:00 2001 From: daregod Date: Thu, 1 Dec 2016 03:30:46 +0600 Subject: [PATCH 1/2] Fix build constraints --- syscalls_other.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syscalls_other.go b/syscalls_other.go index 26cea1b..1113843 100644 --- a/syscalls_other.go +++ b/syscalls_other.go @@ -1,4 +1,4 @@ -// +build NOT (linux OR darwin) +// +build !(linux | darwin) package water From 393a203dd0b05f7d7ba902db994241c14de1126f Mon Sep 17 00:00:00 2001 From: daregod Date: Thu, 1 Dec 2016 04:10:53 +0600 Subject: [PATCH 2/2] Build constraints adopted to documented one --- syscalls_other.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syscalls_other.go b/syscalls_other.go index 1113843..96d1d63 100644 --- a/syscalls_other.go +++ b/syscalls_other.go @@ -1,4 +1,4 @@ -// +build !(linux | darwin) +// +build !linux,!darwin package water