Merge branch 'master' of git://github.com/mattn/go-isatty
diff --git a/_example/example.go b/_example/example.go
new file mode 100644
index 0000000..4d66754
--- /dev/null
+++ b/_example/example.go
@@ -0,0 +1,15 @@
+package main
+
+import (
+	"fmt"
+	"github.com/mattn/go-isatty"
+	"os"
+)
+
+func main() {
+	if isatty.IsTerminal(int(os.Stdout.Fd())) {
+		fmt.Println("Is Terminal")
+	} else {
+		fmt.Println("Is Not Terminal")
+	}
+}
diff --git a/isatty_appengine.go b/isatty_appengine.go
new file mode 100644
index 0000000..83c5887
--- /dev/null
+++ b/isatty_appengine.go
@@ -0,0 +1,9 @@
+// +build appengine
+
+package isatty
+
+// IsTerminal returns true if the file descriptor is terminal which
+// is always false on on appengine classic which is a sandboxed PaaS.
+func IsTerminal(fd uintptr) bool {
+	return false
+}
diff --git a/isatty_bsd.go b/isatty_bsd.go
index e6282b5..98ffe86 100644
--- a/isatty_bsd.go
+++ b/isatty_bsd.go
@@ -1,4 +1,5 @@
 // +build darwin freebsd openbsd netbsd
+// +build !appengine
 
 package isatty
 
diff --git a/isatty_linux.go b/isatty_linux.go
index 8b361d7..9d24bac 100644
--- a/isatty_linux.go
+++ b/isatty_linux.go
@@ -1,4 +1,5 @@
 // +build linux
+// +build !appengine
 
 package isatty
 
diff --git a/isatty_solaris.go b/isatty_solaris.go
index 1056441..1f0c6bf 100644
--- a/isatty_solaris.go
+++ b/isatty_solaris.go
@@ -1,4 +1,5 @@
 // +build solaris
+// +build !appengine
 
 package isatty
 
diff --git a/isatty_windows.go b/isatty_windows.go
index 562ee39..83c398b 100644
--- a/isatty_windows.go
+++ b/isatty_windows.go
@@ -1,4 +1,5 @@
 // +build windows
+// +build !appengine
 
 package isatty