summaryrefslogtreecommitdiff
path: root/vendor/github.com/sevlyar/go-daemon/lock_file_stub.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/sevlyar/go-daemon/lock_file_stub.go')
-rw-r--r--vendor/github.com/sevlyar/go-daemon/lock_file_stub.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/github.com/sevlyar/go-daemon/lock_file_stub.go b/vendor/github.com/sevlyar/go-daemon/lock_file_stub.go
new file mode 100644
index 0000000..3be0c01
--- /dev/null
+++ b/vendor/github.com/sevlyar/go-daemon/lock_file_stub.go
@@ -0,0 +1,11 @@
+// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!plan9,!solaris
+
+package daemon
+
+func lockFile(fd uintptr) error {
+ return errNotSupported
+}
+
+func unlockFile(fd uintptr) error {
+ return errNotSupported
+}