vendor: Patch github.com/syncthing/notify for Go 1.11

This commit is contained in:
Jakob Borg
2018-08-06 20:15:43 +02:00
parent 82c9e23206
commit 500e02cdbb
4 changed files with 28 additions and 5 deletions

View File

@@ -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)