Skip to content

Commit a7c0235

Browse files
authored
Merge pull request mattn#74 from dkegel-fastly/dkegel-bug73-tinygo
Adjust build tags to allow building on tinygo; for mattn#73.
2 parents c067b4f + 13f3590 commit a7c0235

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

isatty_bsd.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
//go:build (darwin || freebsd || openbsd || netbsd || dragonfly || hurd) && !appengine
1+
//go:build (darwin || freebsd || openbsd || netbsd || dragonfly || hurd) && !appengine && !tinygo
22
// +build darwin freebsd openbsd netbsd dragonfly hurd
33
// +build !appengine
4+
// +build !tinygo
45

56
package isatty
67

isatty_others.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
//go:build appengine || js || nacl || wasm
2-
// +build appengine js nacl wasm
1+
//go:build (appengine || js || nacl || tinygo || wasm) && !windows
2+
// +build appengine js nacl tinygo wasm
3+
// +build !windows
34

45
package isatty
56

isatty_tcgets.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
//go:build (linux || aix || zos) && !appengine
1+
//go:build (linux || aix || zos) && !appengine && !tinygo
22
// +build linux aix zos
33
// +build !appengine
4+
// +build !tinygo
45

56
package isatty
67

0 commit comments

Comments
 (0)