From 59cd51e5a00d44fbbab5020319bbb958f371202e Mon Sep 17 00:00:00 2001 From: Rafal Jeczalik Date: Thu, 2 Oct 2014 20:00:44 +0200 Subject: [PATCH] Use kqueue as default watcher for darwin --- event_kqueue.go | 2 +- event_stub.go | 3 ++- watcher_kqueue.go | 2 +- watcher_stub.go | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/event_kqueue.go b/event_kqueue.go index 10bc32c..1a0d99c 100644 --- a/event_kqueue.go +++ b/event_kqueue.go @@ -1,4 +1,4 @@ -// +build dragonfly freebsd netbsd openbsd +// +build darwin dragonfly freebsd netbsd openbsd // +build !fsnotify package notify diff --git a/event_stub.go b/event_stub.go index 4b5fe2a..77cd7a1 100644 --- a/event_stub.go +++ b/event_stub.go @@ -1,4 +1,5 @@ -// +build !linux,!fsnotify,!freebsd,!dragonfly,!netbsd,!openbsd +// +build !darwin,!linux,!freebsd,!dragonfly,!netbsd,!openbsd +// +build !fsnotify package notify diff --git a/watcher_kqueue.go b/watcher_kqueue.go index 86609e9..b4c4034 100644 --- a/watcher_kqueue.go +++ b/watcher_kqueue.go @@ -1,4 +1,4 @@ -// +build dragonfly freebsd netbsd openbsd +// +build darwin dragonfly freebsd netbsd openbsd // +build !fsnotify package notify diff --git a/watcher_stub.go b/watcher_stub.go index 434fd26..00e3765 100644 --- a/watcher_stub.go +++ b/watcher_stub.go @@ -1,4 +1,5 @@ -// +build !linux,!fsnotify,!freebsd,!dragonfly,!netbsd,!openbsd +// +build !darwin,!linux,!freebsd,!dragonfly,!netbsd,!openbsd +// +build !fsnotify package notify