From 86acdf1a5bb31196adbc92e4923e0398868ce876 Mon Sep 17 00:00:00 2001 From: Jeremy Schlatter Date: Tue, 21 Aug 2018 06:13:03 -0700 Subject: vendor: update rjeczalik/notify so that it compiles on go1.11 (#17467) --- .../github.com/rjeczalik/notify/watcher_fsevents_go1.10.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 vendor/github.com/rjeczalik/notify/watcher_fsevents_go1.10.go (limited to 'vendor/github.com/rjeczalik/notify/watcher_fsevents_go1.10.go') 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 +*/ +import "C" + +var refZero = (*C.struct___CFAllocator)(nil) -- cgit