Skip to content

Commit

Permalink
Support sysreadfile on darwin
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Ziemke <github@5pi.de>
  • Loading branch information
discordianfish committed Jul 18, 2022
1 parent c34dfd6 commit 9701acc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions internal/util/sysreadfile.go
Expand Up @@ -11,8 +11,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build linux && !appengine
// +build linux,!appengine
//go:build (linux || darwin) && !appengine
// +build linux darwin
// +build !appengine

package util

Expand Down
4 changes: 2 additions & 2 deletions internal/util/sysreadfile_compat.go
Expand Up @@ -11,8 +11,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build (linux && appengine) || !linux
// +build linux,appengine !linux
//go:build (linux && appengine) || (!linux && !darwin)
// +build linux,appengine !linux,!darwin

package util

Expand Down

0 comments on commit 9701acc

Please sign in to comment.