aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/rjeczalik/notify/watcher_fsevents_go1.10.go
diff options
context:
space:
mode:
authorJeremy Schlatter <jeremy.schlatter@gmail.com>2018-08-21 21:13:03 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-21 21:13:03 +0800
commit86acdf1a5bb31196adbc92e4923e0398868ce876 (patch)
treef95d3fb46da61d3f9574aba56c6e90b57fa5c013 /vendor/github.com/rjeczalik/notify/watcher_fsevents_go1.10.go
parent355fc47d396298bccf93c37bdbba9b9e88864790 (diff)
downloadgo-tangerine-86acdf1a5bb31196adbc92e4923e0398868ce876.tar.gz
go-tangerine-86acdf1a5bb31196adbc92e4923e0398868ce876.tar.zst
go-tangerine-86acdf1a5bb31196adbc92e4923e0398868ce876.zip
vendor: update rjeczalik/notify so that it compiles on go1.11 (#17467)
Diffstat (limited to 'vendor/github.com/rjeczalik/notify/watcher_fsevents_go1.10.go')
-rw-r--r--vendor/github.com/rjeczalik/notify/watcher_fsevents_go1.10.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/github.com/rjeczalik/notify/watcher_fsevents_go1.10.go b/vendor/github.com/rjeczalik/notify/watcher_fsevents_go1.10.go
new file mode 100644
index 000000000..dd2433d20
--- /dev/null
+++ b/vendor/github.com/rjeczalik/notify/watcher_fsevents_go1.10.go
@@ -0,0 +1,14 @@
+// Copyright (c) 2018 The Notify Authors. All rights reserved.
+// Use of this source code is governed by the MIT license that can be
+// found in the LICENSE file.
+
+// +build darwin,!kqueue,cgo,!go1.11
+
+package notify
+
+/*
+ #include <CoreServices/CoreServices.h>
+*/
+import "C"
+
+var refZero = (*C.struct___CFAllocator)(nil)