From c66da98c4f517def4dca71b61b41ec91e27d0ee1 Mon Sep 17 00:00:00 2001 From: Chris Broadfoot Date: Mon, 15 Aug 2016 14:54:39 -0700 Subject: [PATCH] imports: don't use fastpath on appengine (syscall not available) Change-Id: I02fbdf1a08894b35a19a3638357c0d42e64d42cc Reviewed-on: https://go-review.googlesource.com/27078 Reviewed-by: Brad Fitzpatrick --- imports/fastwalk_dirent_ino.go | 2 +- imports/fastwalk_portable.go | 2 +- imports/fastwalk_unix.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/imports/fastwalk_dirent_ino.go b/imports/fastwalk_dirent_ino.go index 32fe71b2..ee85bc4d 100644 --- a/imports/fastwalk_dirent_ino.go +++ b/imports/fastwalk_dirent_ino.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build linux darwin +// +build linux,!appengine darwin package imports diff --git a/imports/fastwalk_portable.go b/imports/fastwalk_portable.go index 996c2c29..6c265834 100644 --- a/imports/fastwalk_portable.go +++ b/imports/fastwalk_portable.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build !linux,!darwin,!freebsd,!openbsd,!netbsd +// +build appengine !linux,!darwin,!freebsd,!openbsd,!netbsd package imports diff --git a/imports/fastwalk_unix.go b/imports/fastwalk_unix.go index 2449523a..5854233d 100644 --- a/imports/fastwalk_unix.go +++ b/imports/fastwalk_unix.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build linux darwin freebsd openbsd netbsd +// +build linux,!appengine darwin freebsd openbsd netbsd package imports