1
0
mirror of https://github.com/golang/go synced 2024-11-12 08:10:21 -07:00

net: fix build with CGO_ENABLED=0

R=golang-dev, rsc, mikioh.mikioh
CC=golang-dev
https://golang.org/cl/7857044
This commit is contained in:
Dmitriy Vyukov 2013-03-15 22:23:35 +04:00
parent 6b57329268
commit ca15ac36ed

8
src/pkg/net/empty.c Normal file
View File

@ -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