From 41945815b8c51b19e55184f82fdeab64b2092aa5 Mon Sep 17 00:00:00 2001 From: Eric Gavaletz Date: Wed, 2 Oct 2013 11:50:35 -0400 Subject: [PATCH] Further patching for GAE compatibility. Since net.ListenTCP, net.ListenUDP and net.TCPListener are not defined in the GAE standard library these build flags will stop those files from being imported. A better solution would have been to break up this monolithic package into smaller parts. --- server.go | 2 ++ server_test.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/server.go b/server.go index a6eeff43..bc363800 100644 --- a/server.go +++ b/server.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build !appengine + // DNS server implementation. package dns diff --git a/server_test.go b/server_test.go index 1069711d..9749b604 100644 --- a/server_test.go +++ b/server_test.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build !appengine + package dns import (