Reviewers: golang-dev1,
Message:
Hello
golan...@googlegroups.com,
I'd like you to review this change to
https://dvyukov%
40goog...@code.google.com/p/go/
Description:
net: fix build with CGO_ENABLED=0
Please review this at
https://codereview.appspot.com/7857044/
Affected files:
A src/pkg/net/empty.c
Index: src/pkg/net/empty.c
===================================================================
new file mode 100644
--- /dev/null
+++ b/src/pkg/net/empty.c
@@ -0,0 +1,8 @@
+// Copyright 2013 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// This file is required to prevent compiler errors
+// when the package built with CGO_ENABLED=0.
+// Otherwise the compiler says:
+// pkg/net/fd_poll_runtime.go:15: missing function body