aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vmimpl/console_darwin.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-06-27 10:16:28 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-06-27 10:21:43 +0200
commit7cacd94aa6b454ba098e7dafe2ca82c1f28bd239 (patch)
treecb0cf7fb8d346d1e2714c019e125ec45db016a4a /vm/vmimpl/console_darwin.go
parent4e580472f4e29c6137fafc4c5f0ffc4af5fdffa1 (diff)
vm/vmimpl: fix linux/ppc64le build
Diffstat (limited to 'vm/vmimpl/console_darwin.go')
-rw-r--r--vm/vmimpl/console_darwin.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/vm/vmimpl/console_darwin.go b/vm/vmimpl/console_darwin.go
new file mode 100644
index 000000000..15909ae57
--- /dev/null
+++ b/vm/vmimpl/console_darwin.go
@@ -0,0 +1,13 @@
+// Copyright 2017 syzkaller project authors. All rights reserved.
+// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+package vmimpl
+
+import "syscall"
+
+const (
+ unix_CBAUD = 0
+ unix_CRTSCTS = 0
+ syscall_TCGETS = syscall.TIOCGETA
+ syscall_TCSETS = syscall.TIOCSETA
+)