From 401596145d0ea763b3653ad77630075fb4145139 Mon Sep 17 00:00:00 2001 From: fangdingjun Date: Mon, 26 Dec 2016 15:12:44 +0800 Subject: [PATCH] fix build fail on unix platform --- dns.go | 2 +- dns_windows.go => dns_other.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename dns_windows.go => dns_other.go (86%) diff --git a/dns.go b/dns.go index 0a91795..768ac38 100644 --- a/dns.go +++ b/dns.go @@ -1,4 +1,4 @@ -// +build linux darwin +// +build unix package main diff --git a/dns_windows.go b/dns_other.go similarity index 86% rename from dns_windows.go rename to dns_other.go index 0665eb8..11fc5f1 100644 --- a/dns_windows.go +++ b/dns_other.go @@ -1,3 +1,5 @@ +// +build !unix + package main import (