From ed4080883b87586a8d2b2ff4218ffb96db6ac65e Mon Sep 17 00:00:00 2001 From: Rickard von Essen Date: Tue, 29 Jul 2014 00:29:01 +0200 Subject: [PATCH] [GH-37] Support Darwin (OS X) again --- tail_linux.go => tail_posix.go | 2 +- watch/{polling_linux.go => polling_posix.go} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename tail_linux.go => tail_posix.go (83%) rename watch/{polling_linux.go => polling_posix.go} (89%) diff --git a/tail_linux.go b/tail_posix.go similarity index 83% rename from tail_linux.go rename to tail_posix.go index 60160fd..86998b6 100644 --- a/tail_linux.go +++ b/tail_posix.go @@ -1,4 +1,4 @@ -// +build linux +// +build linux darwin package tail diff --git a/watch/polling_linux.go b/watch/polling_posix.go similarity index 89% rename from watch/polling_linux.go rename to watch/polling_posix.go index dd0df1c..6eda4da 100644 --- a/watch/polling_linux.go +++ b/watch/polling_posix.go @@ -1,5 +1,5 @@ // Copyright (c) 2013 ActiveState Software Inc. All rights reserved. -// +build linux +// +build linux darwin package watch