summaryrefslogtreecommitdiff
path: root/libgo/go/syscall/time_nofake.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/syscall/time_nofake.go')
-rw-r--r--libgo/go/syscall/time_nofake.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/libgo/go/syscall/time_nofake.go b/libgo/go/syscall/time_nofake.go
new file mode 100644
index 00000000000..c94cef86862
--- /dev/null
+++ b/libgo/go/syscall/time_nofake.go
@@ -0,0 +1,14 @@
+// Copyright 2019 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build !faketime
+
+package syscall
+
+const faketime = false
+
+func faketimeWrite(fd int, p []byte) int {
+ // This should never be called since faketime is false.
+ panic("not implemented")
+}